[Gambas-user] Shell - commands with arguments doesn't work
Jesus
ea7dfh at ...2382...
Thu May 30 21:30:34 CEST 2013
El 30/05/13 20:48, Jesus escribió:
> Hi all
>
> AFAIR this used to work until now:
>
> Shell "ls -la" To variable
> Exec ["ls", "-la"] To anothervariable
>
> But now, whatever command I use, if it has one or more arguments
> beginning with a dash or double dash, I don't get any output.
>
> Quoting it with Shell$() function does not help. Also, I've tried using
> process reading, to no avail.
>
> If you would issue the command without arguments, it then works fine.
>
> Is this a bug, or am I doing something wrong?
>
> Regards
>
> Gambas 3.4.90 r5682
Disregard my last message. This only occurs with some commands, for
example "ifconfig --help".
But minutes ago, it didn't work either. Weird...
Regards
--
Jesus Guardon
More information about the User
mailing list