On Friday 10 October 2008, Kari Laine wrote: > On Fri, Oct 10, 2008 at 2:09 PM, Benoit Minisini < > [EMAIL PROTECTED]> wrote: > > > On vendredi 10 octobre 2008, Kari Laine wrote: > > > > Did you look at the "Console" example? > > > > Hi, thanks had a look it at now. > > I am trying to use genisoimage. Problem I think is that it exists straight > away after shell is executed so that it is not round when I try to write > (print) to process handle. > What I would need in my program is that I start genisoimage to output > certain iso-file image and then I write the file names to it's standard > input. This is what I dont't get working. > > I really don't know what the problem is. > > on command line this works > > ls |xargs genisoimage -o testi.iso >
This is a more ore less multi 'commands' line. You should use the whole line in one command. DIM myProc AS Process myProc = SHELL "(ls | xargs genisoimage -o testi.iso )" FOR WRITE the parenthesis groups the command to one main block See man bash command grouping. Best regards Ron_1st ------------------------------------------------------------------------- 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