note 92145 added to function.proc-get-status
| From: | php dot net at crazedsanity dot com | Date: | Fri, 10 Jul 2009 15:29:08 +0000 |
| Subject: | note 92145 added to function.proc-get-status | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158171@lists.php.net to get a copy of this message | ||
For clarification, the "exitcode" is only valid the FIRST TIME IT IS CALLED after the
process exits.
If you have a method that polls a spawned process for its status, you *MUST* have that same method
capture the exitcode: if the method is called a second time (after realizing the pid is dead) and it
hasn't cached that exitcode, it will receive the -1 mentioned.
----
Server IP: 64.71.164.2
Probable Submitter: 24.111.180.222
----
Manual Page -- http://www.php.net/manual/en/function.proc-get-status.php
Edit -- https://master.php.net/note/edit/92145
Del: integrated -- https://master.php.net/note/delete/92145/integrated
Del: useless -- https://master.php.net/note/delete/92145/useless
Del: bad code -- https://master.php.net/note/delete/92145/bad+code
Del: spam -- https://master.php.net/note/delete/92145/spam
Del: non-english -- https://master.php.net/note/delete/92145/non-english
Del: in docs -- https://master.php.net/note/delete/92145/in+docs
Del: other reasons-- https://master.php.net/note/delete/92145
Reject -- https://master.php.net/note/reject/92145
Search -- https://master.php.net/manage/user-notes.php