note 34905 added to function.exec
| From: | rohan dot mitchell at linuxmail dot org | Date: | Mon, 11 Aug 2003 12:49:45 +0000 |
| Subject: | note 34905 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-53871@lists.php.net to get a copy of this message | ||
When running a program in the background, i found that
/path/program args 2>&1 >/dev/null &
didnt work (it waited for the program to exit), but
/path/program args >/dev/null 2>&1 &
did work. I'm not entirely sure why, but its fixed my problem :)
Rohan
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34905
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34905&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34905&report=yes