[Gambas-user] Reading the return from a shell command
Dave sharples
technoferret at ...598...
Fri Jan 21 11:01:14 CET 2005
Please excuse my ignorance but I'm new to gambas,
I am trying to issue a shell command from gambas with a couple of
arguments and use the return value in my app but I an struggling to get
a grasp on how to do it.
I want to issue a command similar to
DOTHIS arg1 arg2
this would return
Youranswer Something-Else
and the only part of the return I want to use is 'Youranswer' and
discard the rest.
I think I have worked out how to issue the shell command but I am a bit
stumped as to how to get and manipulate the return.
Has anyone any pointers.
Most greatful
Dave
More information about the User
mailing list