You can use backticks to capture just one of the subprocess output streams. Or IPC::Open3, and select or any module allowing to handle IO events to read all the streams concurrently, or even some module doing the capturing for you.
In reply to Re: system stdout redirected ok to a file but not to a variable.
by salva
in thread system stdout redirected ok to a file but not to a variable.
by guybrush
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |