summaryrefslogtreecommitdiff
path: root/lib/IPC/Open2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/IPC/Open2.pm')
-rw-r--r--lib/IPC/Open2.pm2
1 files changed, 1 insertions, 1 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:/>.