note 83628 added to function.proc-get-status

From: Date: Thu, 05 Jun 2008 08:12:13 +0000
Subject: note 83628 added to function.proc-get-status
Groups: php.notes 
Request: Send a blank email to php-notes+get-140136@lists.php.net to get a copy of this message
You can NOT rely on pid+1. You could prefix exec to the command string, this will replace the /bin/sh script with the real thing you want to exec (use only if you don't do 'scary things' like pipes, output redirection, multiple commands, however if you know how they work, go ahead). If you prefix exec, the /bin/sh process will only start your process, and the PID will be the same. ---- Server IP: 213.249.64.162 Probable Submitter: 82.93.241.107 ---- Manual Page -- http://www.php.net/manual/en/function.proc-get-status.php Edit -- https://master.php.net/note/edit/83628 Del: integrated -- https://master.php.net/note/delete/83628/integrated Del: useless -- https://master.php.net/note/delete/83628/useless Del: bad code -- https://master.php.net/note/delete/83628/bad+code Del: spam -- https://master.php.net/note/delete/83628/spam Del: non-english -- https://master.php.net/note/delete/83628/non-english Del: in docs -- https://master.php.net/note/delete/83628/in+docs Del: other reasons-- https://master.php.net/note/delete/83628 Reject -- https://master.php.net/note/reject/83628 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#140136) next »