note 87190 deleted from function.pcntl-fork by danbrown

From: Date: Tue, 10 Aug 2010 15:43:50 +0000
Subject: note 87190 deleted from function.pcntl-fork by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-171536@lists.php.net to get a copy of this message
Note Submitter: pagan at o2 dot pl ---- Mayby: foreach ($cmds as $cmd) { $pid=pcntl_fork(); if (!$pid) { // if we don't have a pid (pid = 0), we know that is a child exec($cmd); break; } }

« previous php.notes (#171536) next »