Lines Matching refs:child
132 my $child = shift;
141 if (0 != waitpid($child, POSIX::WNOHANG())) {
146 kill('TERM', $child);
199 my $child = fork();
200 if (not defined $child) {
205 if ($child == 0) {
243 if (0 != $self->wait_for_port_with_proc($self->{PORT}, $child)) {
244 diag(sprintf('\nThe process %i is not up', $child));
248 $self->{LIGHTTPD_PID} = $child;
468 my $child = fork();
469 if (not defined $child) {
473 if ($child == 0) {
484 if (0 != $self->wait_for_port_with_proc($port, $child)) {
485 diag(sprintf("\nThe process %i is not up (port %i, %s)", $child, $port, $binary));
488 return $child;