note 46437 added to function.exec
| From: | chavero81 at yahoo dot es | Date: | Mon, 11 Oct 2004 16:41:44 +0000 |
| Subject: | note 46437 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-78357@lists.php.net to get a copy of this message | ||
if i wanna save the output in a file i should do:
exec("nohup sh dosomethink.sh > result.log 2>&1 &");
dosomethink.sh realy works! but result.log never has data and result.log has been created.
whats wrong?
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46437
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46437&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46437&report=yes
Search -- http://master.php.net/manage/user-notes.php