in reply to Re: Problem with IPC::Open2 when STDOUT/STDERR are redirected (!local)
in thread Problem with IPC::Open2 when STDOUT/STDERR are redirected
++tye, for accuracy, but --perl for correctness. The filenos for clib stdin, stdout and stderr should not be hardwired. I recall showing you, a few years ago, how to make stderr have file descriptor 3 on linux and still behave properly there.
I'm not very up-to-date on either linux or perl at the moment, but I'll check and see if my preferred conventions still hold.