note 4786 deleted from exec by ronabop
| From: | ronabop@php.net | Date: | Fri, 11 Aug 2000 09:21:23 +0000 |
| Subject: | note 4786 deleted from exec by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1072@lists.php.net to get a copy of this message | ||
I'm having trouble getting php to fire off a background process and proceed asynchronously
without caring about the status of that other process. I got it to *sort of* work by using the above
suggesting using nohup or by using a perl script as a wrapper to close the STDIN, STDOUT, and
STDERR, and fork the process. The reason it only sort of works is because the rest of the php code
on that transaction gets processed, but any further requests with that browser just hang (it's
okay if I close netscape and connect again though). Does this have anything to do with sessions? Any
ideas for forking asynchronous background processes with php, or do I have to come up with something
else to do this?