[Gambas-user] Help with SHELL and EXEC
Laurent Carlier
lordheavym at ...626...
Fri Oct 10 01:15:11 CEST 2008
Le vendredi 10 octobre 2008 01:05:57 Kari Laine, vous avez écrit :
> Hi,
>
> could someone please post an example how to use SHELL and EXEC so that
> WRITE is used to write information to external program's input?
>
> I would be very great full. I have tried now four hours and can't get it
> working.
>
> Best Regards
> Kari Laine
DIM myProc AS Process
...
myProc = SHELL "mycommand" FOR WRITE
...
PRINT #myProc,"Send this to mycommand input"
see http://64.128.110.55/help/lang/shell
http://64.128.110.55/help/lang/print?v3
http://64.128.110.55/help/comp/gb/process?v3
Regards,
More information about the User
mailing list