[Gambas-user] " ls > /dev/pts/0 " by Exec.....

Ru Vuott vuott at ...325...
Tue Oct 2 16:49:16 CEST 2012


Hello,

I'ld like launch this line "ls > /dev/pts/0" by "Exec".

If I write:

   Exec ["ls", ">", "/dev/pts/0" ]

it returns an error. It says I cannot access to > : file or directory not found.

Idem, if I launch:

   Exec ["ls", "> /dev/pts/0" ]


And, if I use:

   Exec ["ls >", /dev/pts/0" ]

The error message says: cannot run child process: cannot exec program.

I just can not figure out how to !

Regards
vuott




More information about the User mailing list