From eeba3357c3adf46b04bd319c3720eede609434e0 Mon Sep 17 00:00:00 2001 From: Roderick Schertler Date: Thu, 6 Mar 1997 19:19:07 -0500 Subject: Open[23] autoflush docs p5p-msgid: 7939.857693947@eeyore.ibcinc.com --- lib/IPC/Open2.pm | 2 ++ lib/IPC/Open3.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/IPC/Open2.pm b/lib/IPC/Open2.pm index cfd15a848b..f4ae7482e2 100644 --- a/lib/IPC/Open2.pm +++ b/lib/IPC/Open2.pm @@ -29,6 +29,8 @@ when you try open(HANDLE, "|cmd args|"); +The write filehandle will have autoflush turned on. + If $rdr is a string (that is, a bareword filehandle rather than a glob or a reference) and it begins with ">&", then the child will send output directly to that file handle. If $wtr is a string that begins with diff --git a/lib/IPC/Open3.pm b/lib/IPC/Open3.pm index 57c722982a..cfa8932432 100644 --- a/lib/IPC/Open3.pm +++ b/lib/IPC/Open3.pm @@ -28,7 +28,7 @@ IPC::Open3, open3 - open a process for reading, writing, and error handling Extremely similar to open2(), open3() spawns the given $cmd and 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. +on the same file handle. The WTRFH will have autoflush turned on. If WTRFH begins with "E&", then WTRFH will be closed in the parent, and the child will read from it directly. If RDRFH or ERRFH begins with -- cgit v1.2.1