[Gambas-user] Cd to Directory

Rob Kudla sourceforge-raindog2 at ...94...
Tue Sep 13 02:01:32 CEST 2005


On Mon September 12 2005 18:55, Steve Starr wrote:
> SHELL "cd build" FOR READ
> SHELL "./wolfpkg"
> But neather of these code snipets work i am not able to cd to
> another dir as root or any ohter user?

The SHELL command does just what it says.... starts a shell and 
executes your command in it.  So you're not changing the directory 
for your program, you're changing it for the shell.... when then 
immediately exits.

Maybe try this?

SHELL "cd build && ./wolfpkg" FOR READ

Rob





More information about the User mailing list