in reply to Unable to capture STDOUT from system command

Command line redirection is enacted by command line processors (shells). Probably all you need to do is prefix your command with an appropriate shell command for your system (eg. cmd.exe or sh or bash etc.).


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP an inspiration; A true Folk's Guy
  • Comment on Re: Unable to capture STDOUT from system command

Replies are listed 'Best First'.
Re^2: Unable to capture STDOUT from system command
by Greg_R (Novice) on Jun 29, 2010 at 22:47 UTC
    Thanks to both of you! I had a mix of both issues; my one command was aliased in my shell (fortunately it was a $ENV variable that I could grab) and the code snippet worked perfectly for the rest.