[Gambas-user] Set variable with EXEC

Benoit Minisini gambas at ...1...
Sat Aug 28 14:20:34 CEST 2004


On Saturday 28 August 2004 10:55, Debian_cryulez wrote:
> Is possible to set a variable with a output of command exec?
> Ex. If I lunch a whoami, I can set a variable with the shell return (root)?

This is planned, but not for the 1.0 version.

This will be something like 

  DIM sResult as String
  EXEC [ "whoami" ] TO sResult

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list