[Gambas-user] Executing Shell command (also applies to Exec command), FMain form goes blank
John Rose
john.aaron.rose at ...626...
Mon Jan 30 18:08:42 CET 2012
Jussi,
I've obviously failed to explain this properly. I want the Shell command
to execute the program get_iplayer with specified parameters. I also
want stdout & stderr to be written to a file: the reason being is that
get_iplayer has a tendency to hang/crash so writing stdout & stderr to a
variable would be no good. Whilst get_iplayer is executing, I want the
FMain form to still be displayed with its controls showing (i.e. the
form should not be blank).
I presume that the Exec command is not available to me as bash is
required to redirect stdout & stderr to a file.
I thought that the second form of the Shell command (as described in the
documentation) would be best. Due to the redirection of stdout & stderr
to a file, I would expect the 'To' variable to be empty.
More information about the User
mailing list