Lines Matching refs:pid
182 my $pid;
185 $pid = start_mock_server("");
186 die "Cannot start or find the started CMP mock server" unless $pid;
198 stop_mock_server($pid) if $pid;
273 my $pid = open($server_fh, "$cmd|") or die "Trying to $cmd";
274 print "Pid is: $pid\n";
281 ($server_port, $pid) = ($1, $2) if /^ACCEPT\s.*:(\d+) PID=(\d+)$/;
286 stop_mock_server($pid);
290 return $pid;
294 my $pid = $_[0];
295 print "Killing mock server with pid=$pid\n";
296 kill('KILL', $pid);