Lines Matching refs:pid
22 $pid = open3(\*WTRFH, \*RDRFH, \*ERRFH,
26 $pid = open3($wtr, $rdr, $err,
63 simple as calling C<waitpid $pid, 0> when you're done with the process.
100 # usage: $pid = open3('wtr', 'rdr', 'err' 'some cmd and args', 'optarg', ...);
105 # stderr of the child are on the same fh. returns pid
129 my $pid = fork;
130 defined $pid or croak "$Me: fork failed: $!";
131 return $pid;
311 my ($fd, $pid, @saved_fh, $saved, %saved, @errs);
335 $pid = eval { system 1, @_ }; # 1 == P_NOWAIT
336 push @errs, "IO::Pipe: Can't spawn-NOWAIT: $!" if !$pid || $pid < 0;
344 return $pid;