summaryrefslogtreecommitdiff
path: root/lib/IPC
diff options
context:
space:
mode:
Diffstat (limited to 'lib/IPC')
-rw-r--r--lib/IPC/Open2.pm2
-rw-r--r--lib/IPC/Open3.pm4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/IPC/Open2.pm b/lib/IPC/Open2.pm
index 62ec69b335..35bb0d1f16 100644
--- a/lib/IPC/Open2.pm
+++ b/lib/IPC/Open2.pm
@@ -20,7 +20,7 @@ The open2() function spawns the given $cmd and connects $rdr for
reading and $wtr for writing. It's what you think should work
when you try
- open(HANDLE, "|cmd args");
+ open(HANDLE, "|cmd args|");
open2() returns the process ID of the child process. It doesn't return on
failure: it just raises an exception matching C</^open2:/>.
diff --git a/lib/IPC/Open3.pm b/lib/IPC/Open3.pm
index fc93ab548d..d416ae7886 100644
--- a/lib/IPC/Open3.pm
+++ b/lib/IPC/Open3.pm
@@ -19,9 +19,9 @@ connects RDRFH for reading, WTRFH for writing, and ERRFH for errors. If
ERRFH is '', or the same as RDRFH, then STDOUT and STDERR of the child are
on the same file handle.
-If WTRFH begins with "<&", then WTRFH will be closed in the parent, and
+If WTRFH begins with "E<lt>&", then WTRFH will be closed in the parent, and
the child will read from it directly. If RDRFH or ERRFH begins with
-">&", then the child will send output directly to that file handle. In both
+"E<gt>&", then the child will send output directly to that file handle. In both
cases, there will be a dup(2) instead of a pipe(2) made.
If you try to read from the child's stdout writer and their stderr