http://qs321.pair.com?node_id=11109198


in reply to Re: qx and STDERR?
in thread qx and STDERR?

Yeah. The default shell seems to be a likely culprit.

I am on Debian testing, perl 5.26.1 ffmpeg 4.2.1.

It's not a big deal, I just would like to understand what is going on...

Replies are listed 'Best First'.
Re^3: qx and STDERR?
by haukex (Archbishop) on Nov 25, 2019 at 21:32 UTC
    I just would like to understand what is going on...

    The versions you named don't seem very exotic, and without being able to reproduce it, I can't tell you more. Is qx(ffmpg -f s16le -i out.raw 2>&1) the actual command you're running (is "ffmpg" a typo)? Because if you're doing any other redirections there, the order makes a difference. Otherwise, I'd suggest debugging with strace and perhaps lsof to get some clues why your redirection isn't working.