executing a background script from embedded perl

Kingsley Foreman kingsley at internode.com.au
Thu Sep 11 11:35:26 MSD 2008


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