[Gambas-user] Timely reading of shell command output in process read event.

Benoît Minisini gambas at ...1...
Sun Jul 15 02:00:34 CEST 2012


Le 15/07/2012 01:54, Bruce a écrit :
> On Sun, 2012-07-15 at 00:36 +0100, RICHARD WALKER wrote:
>
>> JCap = Shell Command For Read As "Jack_Capture"
>>
>> My Jack_Capture_Read() procedure has used both
>
> Hi Richard,
>
> Sheer guess, but is "Jack_Capture" a legal name for an observer? Does
> Jack_Capture_Read() ever get invoked? I've always been vary of using "_"
> in names.
>
> hth
> Bruce
>

Yes, any legal identifier can be used as event name.

I think Richard's problem may be solved by replaceing "For Read" by "For 
Input", so that the command is run through a virtual terminal.

-- 
Benoît Minisini






More information about the User mailing list