in reply to Re^2: Effect of redirecting output to /dev/null on $? value
in thread Effect of redirecting output to /dev/null on $? value
I have used this before, but our questioner seemed to be asking for a minimal solution. This strategy is the only way if you need more than the basic pipes, but (having just checked) IPC::Open3 is actually implemented using system, presumably for compatibility on Windows, where fork must be emulated.
In Section
Seekers of Perl Wisdom