Lines Matching refs:open2
11 @EXPORT = qw(open2);
15 IPC::Open2, open2 - open a process for both reading and writing
21 $pid = open2(\*RDRFH, \*WTRFH, 'some cmd and args');
23 $pid = open2(\*RDRFH, \*WTRFH, 'some', 'cmd', 'and', 'args');
27 $pid = open2($rdrfh, $wtrfh, 'some cmd and args');
29 $pid = open2($rdrfh, $wtrfh, 'some', 'cmd', 'and', 'args');
33 The open2() function runs the given $cmd and connects $rdrfh for
53 open2() returns the process ID of the child process. It doesn't return on
54 failure: it just raises an exception matching C</^open2:/>. However,
58 open2() does not wait for and reap the child process after it exits.
92 # &open2: tom christiansen, <tchrist@convex.com>
94 # usage: $pid = open2('rdr', 'wtr', 'some cmd and args');
95 # or $pid = open2('rdr', 'wtr', 'some', 'cmd', 'and', 'args');
112 sub open2 {
114 return IPC::Open3::_open3('open2', scalar caller,