|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-12-06 11:05 UTC] n dot escuder at atlantis-software dot net
-Operating System: Linux 3.0
+Operating System: Linux 3.6
-PHP Version: 5.3.8
+PHP Version: 5.4.9
[2012-12-06 11:05 UTC] n dot escuder at atlantis-software dot net
[2013-06-26 16:23 UTC] n dot escuder at atlantis-software dot net
-Operating System: Linux 3.6
+Operating System: Linux 3.9
-PHP Version: 5.4.9
+PHP Version: 5.4.16
[2013-06-26 16:23 UTC] n dot escuder at atlantis-software dot net
[2013-06-26 19:43 UTC] mike@php.net
-Status: Open
+Status: Not a bug
-Assigned To:
+Assigned To: mike
[2013-06-26 19:43 UTC] mike@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 22:00:01 2025 UTC |
Description: ------------ No more received the signal HUP after using pcntl_exec Test script: --------------- #!/bin/php <?php function sig_handler() { echo "sig_handler() called\n"; pcntl_exec( "/test.php" ); } echo "set signal\n"; pcntl_signal( SIGHUP, "sig_handler" ); while ( 1 ) { pcntl_signal_dispatch(); sleep(1 ); } ?> Expected result: ---------------- first kill -HUP PID show : sig_handler() called do a second kill -HUP PID and show : sig_handler() called Actual result: -------------- first kill -HUP PID show : sig_handler() called do a second kill -HUP PID and nothing append and no more possible to do a CTRL+C on the program