rt 76474: Avoid the child perl reading from stdout
authorTony Cook <tony@develop-help.com>
Fri, 1 Oct 2010 08:58:37 +0000 (18:58 +1000)
committerTony Cook <tony@develop-help.com>
Fri, 1 Oct 2010 09:18:22 +0000 (19:18 +1000)
commit1f563db471aa8a0064982ecfd3d60911d0eaa3ff
tree80de947df8c40fb5f2aeef813b59f71036c9960d
parentbe1cc4519b5ba35ec8c5b8a2b4a62c72cff05a2e
rt 76474: Avoid the child perl reading from stdout

FD 1 is stdout, and the "<&1" redirect in the test sets the child to
read from its parent's stdout, on Linux (and presumably OS X) doesn't
let you read from stdout, but FreeBSD does, without the -e perl will
try to read its program from stdin, so provide one.
ext/IPC-Open3/t/fd.t