On Fri, Oct 10, 2008 at 2:15 AM, Laurent Carlier <[EMAIL PROTECTED]>wrote:

> 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
>
> Thanks Laurent,

I can not still make it work. An example with both input and output
redirection would be highly appreciated.

Best Regards
Kari Laine
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to