nlopess Thu Feb 22 11:49:23 2007 UTC
Modified files:
/php-src/ext/standard/tests/general_functions proc_open02.phpt
Log:
MFB
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/proc_open02.phpt?r1=1.4&r2=1.5&diff_format=u
Index: php-src/ext/standard/tests/general_functions/proc_open02.phpt
diff -u php-src/ext/standard/tests/general_functions/proc_open02.phpt:1.4
php-src/ext/standard/tests/general_functions/proc_open02.phpt:1.5
--- php-src/ext/standard/tests/general_functions/proc_open02.phpt:1.4 Wed Feb
21 16:27:12 2007
+++ php-src/ext/standard/tests/general_functions/proc_open02.phpt Thu Feb
22 11:49:23 2007
@@ -15,6 +15,8 @@
$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));
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php