Re: Exec Script in the background, don't wait till it finishes
| From: | Nicholas Kell | Date: | Fri, 14 Jan 2011 18:48:55 +0000 |
| Subject: | Re: Exec Script in the background, don't wait till it finishes | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-310770@lists.php.net to get a copy of this message | ||
On Jan 14, 2011, at 12:41 PM, Kai Renz wrote:
> Hi guys and thanks for your answers...
>
> @Nicholas:
> Yes, you are right. The first socket is only used if a new clients
> connects, thats why the script generates a new port so the client can
> connect to the new socket. After that socket1 should continue its work
> and wait for new clients.
>
> @Daniel:
> Yeh i tried sending it to the background, this works but still it does
> wait for the other script to finish.
>
> @Evil Son:
> Thanks for the tip, i'll try it :)
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
One more thing to verify: What is the target environment? *nix I hope.