note 42371 added to function.exec
| From: | until-june-04 at daniu dot de | Date: | Thu, 13 May 2004 19:27:43 +0000 |
| Subject: | note 42371 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-69578@lists.php.net to get a copy of this message | ||
Hi!
I just want to add a note to the function "jonas DOT info AT gmx DOT net" contributed to
keep processes running in the background.
Not like with the other exec/system/passthru etc. functions if you want to execute a batch file on a
MS-machine you need to add a simple exit in the last line of your batch-file otherwise the CMD task
does not close and your server will be filled with dead processes ... No idea what happens with
other programs .
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42371
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42371&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42371&report=yes
Search -- http://master.php.net/manage/user-notes.php