# or without using the shell
$pid = open2($chld_out, $chld_in, 'some', 'cmd', 'and', 'args');
+ waitpid( $pid, 0 );
+ my $child_exit_status = $? >> 8;
+
=head1 DESCRIPTION
The open2() function runs the given $cmd and connects $chld_out for
$pid = open3($wtr, $rdr, $err,
'some cmd and args', 'optarg', ...);
+ waitpid( $pid, 0 );
+ my $child_exit_status = $? >> 8;
+
=head1 DESCRIPTION
Extremely similar to open2(), open3() spawns the given $cmd and