Try
> eval "$cmdline"

Cheers,
Guillaume


2016-09-07 10:56 GMT+02:00 Andreas Sewe <[email protected]>:

> Hi,
>
> I am currently struggling with the eval command for the Gogo shell.
> Unfortunately, I wasn't able to dig up any documentation on it. Not even
> "help eval" returns something (probably, because eval is not a "real"
> command).
>
> What I want is essentially the following:
>
> > cmdline = [ "command" "arg1" "arg2" ]
> > eval $cmdline
>
> Is this possible somehow?
>
> Best wishes,
>
> Andreas
>
> --
> Codetrails GmbH
> The knowledge transfer company
>
> Robert-Bosch-Str. 7, 64293 Darmstadt
> Phone: +49-6151-276-7092
> Mobile: +49-170-811-3791
> http://www.codetrails.com/
>
> Managing Director: Dr. Marcel Bruch
> Handelsregister: Darmstadt HRB 91940
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
------------------------
Guillaume Nodet
------------------------
Red Hat, Open Source Integration

Email: [email protected]
Web: http://fusesource.com
Blog: http://gnodet.blogspot.com/

Reply via email to