[Gambas-user] EXEC question
tobias
tobiasboe1 at ...20...
Fri Aug 5 05:13:08 CEST 2011
> hi,
>
> i don't use EXEC usually but this time do and immediately have a problem
> with it (gambas2).
> you can't do
> EXEC ["ls -l ."] TO s
> why doesn't this do anything? (i know, an array is expected, but isn't
> it the same if i specify three arguments or just one containing all the
> three?)
ok, got it by myself again :(
http://gambasdoc.org/help/doc/shellexec?v3 says that exec() is used to
start the given command, so i bet the given array will be argv and thus
the program doesn't understand the arguments correctly...
More information about the User
mailing list