executing a background script from embedded perl

mike mike503 at gmail.com
Thu Sep 11 11:43:08 MSD 2008


nginx doesn't support perl natively anyway does it?

On Thu, Sep 11, 2008 at 12:35 AM, Kingsley Foreman
<kingsley at internode.com.au> wrote:
> Hi guys just wondering if  you could run
> exec("sleep 200 &") in an embedded perl script and let nginx keep doing its
> thing.
>
> Obviously sleep is just an example however i don't appear to be able to run
> a program in the background.
> the nginx process waits until the backgrounded script completes before
> continuing.
>
>
>
> Kingsley Foreman
> Technical Leader Content Services / Content Management Group
>
> =============================================
> Internode Systems Pty Ltd
>
> PO Box 284, Rundle Mall 5000
> Level 5 150 Grenfell Street, Adelaide 5000
> Phone:  +61 8 8228 2978
> Fax:    +61 8 8235 6978
> Web:    http://www.internode.on.net
>       http://games.on.net
> =============================================
>
>





More information about the nginx mailing list