]> granicus.if.org Git - php/commitdiff
MFB
authorNuno Lopes <nlopess@php.net>
Thu, 22 Feb 2007 11:49:23 +0000 (11:49 +0000)
committerNuno Lopes <nlopess@php.net>
Thu, 22 Feb 2007 11:49:23 +0000 (11:49 +0000)
ext/standard/tests/general_functions/proc_open02.phpt

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