Re: [Soaplab-users] How to quote arguments ?
Brought to you by:
marsenger
From: Mahmut U. <ul...@eb...> - 2006-06-29 15:08:08
|
Hi Marc, > It seemed that trying to verify the quoting played some tricks on me: no > quotes in the soaplab report + dump of @ARGV (the soaplab wrapped > command is a perl script) does not show quotes neither. But it seems to > work, as the output to stdout is catched. > I mean, if the command would end with a ';', then it would be impossible > to redirect the stdout to a file, right ? > It is the difference between > 'command --arg1 blah --arg2 blah ; > outfile' => outfile is empty. > and > 'command --arg1 blah --arg2 blah ";" > outfile' => outfile has content The ';' characters on the command line don't cause any problem because the actual command lines generated by Applab don't include the output direction as in the above example and are executed using the Perl's exec function. Outputs of the command line jobs are collected by the launchers by listening the stdout and the stderr ports of the child processes that actually execute the command lines. Regards, Mahmut |