note 58730 rejected from function.exec by betz
| From: | betz@php.net | Date: | Mon, 14 Nov 2005 12:33:44 +0000 |
| Subject: | note 58730 rejected from function.exec by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-98541@lists.php.net to get a copy of this message | ||
Note Submitter: ingisk at gmail dot com
----
In order to execute a command have have it not hang your php script while it runs, the program you
run must not output back to php. To do this, redirect both stdout and stderr to /dev/null, then
background it.
> /dev/null 2>&1 &
What about Windows?