[Gambas-user] Any possible way to level up?

Bruce Steers bsteers4 at gmail.com
Sat Jun 4 18:11:58 CEST 2022


On Fri, 3 Jun 2022, 19:59 Benoit Minisini, <benoit.minisini at gambas-basic.org>
wrote:

> Le 03/06/2022 à 16:33, Bruce Steers a écrit :
> >
> > the Process_Read() function sucks though. it misses things/truncates :(
> > Useful for commands that do not give output like cp / mv / rm
>
> Do you have any example of Process_Read() truncating anything?
>

It was terrible coding on my part i think.
I was dealing with a lot of escape chars/color codes but then used bash
--norc arg.
I've cleaned it up a lot,
used a trick to emulate (poorly) the Process.State and Process.Value for
the commands run inside bash.
added an .End() method that kills the terminal

I posted an update on gambasone forum...
https://forum.gambas.one/viewtopic.php?f=4&t=1333
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220604/23c5bd3f/attachment.htm>


More information about the User mailing list