cvs: php-src /ext/standard/tests/general_functions proc_open02.phpt
| From: | Nuno Lopes | Date: | Thu, 22 Feb 2007 11:49:23 +0000 |
| Subject: | cvs: php-src /ext/standard/tests/general_functions proc_open02.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-43210@lists.php.net to get a copy of this message | ||
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));