in reply to Problem capturing the output of external command

on the shell level you can do something like 2>&1 to redirect STDERR to STDOUT!

Please compare How can I redirect STDOUT and STDERR from a program on WIN32?

Cheers Rolf

UPDATE: how do i redirect STDOUT, STDIN, or STDERR to a FILE?

Google search has 299 results http://www.google.com/search?q=+site:www.perlmonks.org+redirect+stdout+stderr+perl,
(better weighted results than supersearch)

  • Comment on Re: Problem capturing the output of external command

Replies are listed 'Best First'.
Re^2: Problem capturing the output of external command
by Anonymous Monk on Dec 05, 2008 at 11:04 UTC
    Thanks.
    It is working now.