fix test on ultra-fast-machines and/or SOs with long time slices

# Thanks Tony
This commit is contained in:
Nuno Lopes 2007-02-22 11:48:14 +00:00
parent dfbc224555
commit d94e388d74

View file

@ -15,6 +15,8 @@ $cat = proc_open(
$pipes $pipes
); );
sleep(1); // let the OS run the nohup process before sending the signal
var_dump(proc_terminate($cat, 1)); // send a SIGHUP var_dump(proc_terminate($cat, 1)); // send a SIGHUP
sleep(1); sleep(1);
var_dump(proc_get_status($cat)); var_dump(proc_get_status($cat));