[Gambas-user] More Problems with SHELL (possible BUG).

ron ronstk at ...239...
Fri Jul 6 12:53:28 CEST 2007


On Friday 06 July 2007 09:18, audiossis wrote:
> SHELL "pushd /directory; find ./ | cpio -vco | gzip > /path/to/archive/file " WAIT FOR READ
> 
> only returns the output from "pushd" and not "cpio". Mind you I can't get the output from "cpio" at any time wether it is 
> preceded with the "pushd" command or not. :-)
> 

One more suggestion:
> SHELL "(pushd /directory; find ./ | cpio -vco | gzip > /path/to/archive/file )" WAIT FOR READ

The () mean to handle the inside content as one process by group the commands together.

--
Ron






More information about the User mailing list