note 25936 added to ref.exec
| From: | jseverson at myersinternet dot com | Date: | Fri, 11 Oct 2002 17:55:34 +0000 |
| Subject: | note 25936 added to ref.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-37945@lists.php.net to get a copy of this message | ||
Worked on getting a perl script to run in the background for several hours, and after trying
everything posted here on the boards, I came to the conclusion that none were precisely right. Here
is the correct way to solve the problem assuming you want to append to your output log file.
exec("perl file_system_path_to_script.cgi parameters >> /tmp/log_file.txt 2>&1
&");
--
http://www.php.net/manual/en/ref.exec.php
http://master.php.net/manage/user-notes.php?action=edit+25936
http://master.php.net/manage/user-notes.php?action=delete+25936
http://master.php.net/manage/user-notes.php?action=reject+25936