Starting background processed
| From: | Geocrawler.com | Date: | Thu, 02 Sep 1999 13:36:04 +0000 |
| Subject: | Starting background processed | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10443@lists.php.net to get a copy of this message | ||
This message was sent from Geocrawler.com by "Klaus Reimer" <kr@ailis.de>
Be sure to reply to that address.
Hi,
I need to execute a shell script which starts a background process. The script looks like this:
#!/bin/bash
/path/daemon &
I execute this script with exec but the command freezes until the background process is stopped. If
I use a real daemon instead of a manual backgrounded process it works perfectly. What can I do, that
PHP executes this script and returns immediately?
Bye
K
Geocrawler.com - The Knowledge Archive