note 57813 deleted from function.proc-close by jome

From: Date: Tue, 18 Oct 2005 19:23:31 +0000
Subject: note 57813 deleted from function.proc-close by jome
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-97184@lists.php.net to get a copy of this message
Note Submitter: e-t172 at e-t172 dot net ---- (i am french, sorry for my bad english) Note that there is a bug in PHP 4 and 5 : if you open two processes, you must close the second one first, otherwise it hangs. Here is a workaround : <?php function proc_close_nobug($proc) { $status = proc_get_status($proc); exec('kill '.$status['pid']); } ?> It works only on PHP5, on a Linux OS.

« previous php.notes (#97184) next »