[Gambas-user] Cd to Directory
Benoit Minisini
gambas at ...1...
Tue Sep 13 12:05:08 CEST 2005
On Tuesday 13 September 2005 01:14, Pablo Vera wrote:
> You don't need to "cd", you simply run it like this:
>
> SHELL "/root/Projects/PkgManager/build/wolfpkg"
>
> or
>
> SHELL "/root/Projects/PkgManager/build/wolfpkg" FOR READ
>
> depending on what the "wolfpkg" executable does.
>
> Saludos,
> Pablo Vera
>
> Steve Starr wrote:
> > I am useing Gambas 1.0.11 and i am trying to:
> >
> > SHELL "cd /root/Projects/PkgManager/build/" FOR READ
> > SHELL "./wolfpkg"
> >
> > Or
> >
> > 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?
> >
> > Thanks :)
> >
If you really needs to 'cd', you can use:
SHELL "(cd cd /root/Projects/PkgManager/build/; ./wolfpkg)" FOR READ
Regards,
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list