AW: [Gambas-user] More than one console process
Matthias Laur
matthias-laur at ...978...
Tue Jun 14 11:00:26 CEST 2005
Hi Rolf,
you can put a IF ... Then ... in the Process_Read event like
IF Last.id = Myfirstexec.id then ....
IF Last.id = Mysecondexec.id then ....
And it works :-)
Regards,
Matthias
-----Ursprüngliche Nachricht-----
Von: gambas-user-admin at lists.sourceforge.net
[mailto:gambas-user-admin at lists.sourceforge.net] Im Auftrag von Eilert
Gesendet: Dienstag, 14. Juni 2005 10:37
An: gambas-user at lists.sourceforge.net
Betreff: [Gambas-user] More than one console process
Hi folks,
just thought about brushing up one of my apps which includes a console
thing "EXEC [ "who" ] ..." and so on.
Reading out the output from the command I use the Process_Read event.
But what if I want to have another command executed in the program, like
"EXEC [ "ps" "ax" ] ..."?
Either I need another Process_Read() event (and I don't know if it's
possible to distinguish between several ones) or I have to insert some
flag to be set and evaluated within the single Process_Read to
distinguish between the two commands.
Just give me an idea so I do not spoil the current project :-)
Rolf
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you
shotput
a projector? How fast can you ride your desk chair down the office luge
track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list