[Gambas-user] Shell / Exec Question
na2492 at ...9...
na2492 at ...9...
Thu Jun 17 12:44:05 CEST 2004
>As I type this my net connection is down again, so you may have
>already figured this out by the time you see it, but....
>
>On Wednesday 16 June 2004 17:32, Brant Wells wrote:
>> It appears to me that none of the X applications that I have
>> tried will trigger the Process_read events... ie: Konsole,
>> kcalc, xterm... However, several console applications do...
>> ie: ls and ps...even cat works...
>
>Well, try this simple test. In a konsole (let's call it "konsole
>1") type "konsole -e su root". Or "konsole -e ls" or whatever
>you like. It'll start another konsole, that being "konsole 2"
>for our purposes. Do whatever you were going to do in konsole
>2, exit it if it doesn't exit by itself, and then go back to
>konsole 1.
>
>The output that you see *there*, if any, in konsole 1, is the
>output that would trigger the Process_Read and/or Process_Error
>events in gambas.
>
>Do you understand now why Process_Read wasn't firing? ;)
>
>Rob
Salut,
if you make a copy of examples/console
And you change
$hProcess.Send(sLig)
to
PRINT #$hProcess sLig
You can debug it , and see how it works
A question ?
Is it realy Process_Read and not Process_Write ?
Amicalement
Charlie
Sorry if it is sent twice, but my mailer gave me an Error the first time
* Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de *
More information about the User
mailing list