|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: IPC::Open3 misbehaving when STDOUT is not FD #1by Khen1950fx (Canon) |
| on Jun 05, 2009 at 20:35 UTC ( #768921=note: print w/ replies, xml ) | Need Help?? |
|
printf "out 1\\nout 2\\nout 3\\n" >&2 will give you the desired output. Update: While the answer is true, "true" here means "error". Bash is running printf, not perl, so Bash is running into or and die and returning or: command not found and die: command not found; hence, eveything goes to stderr.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||