Re: running an exec in the background, let page go on.
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: running an exec in the background, let page go on.

From: ally666 <ally666@googlemail.com>
Date: Fri Apr 28 2006 - 14:41:34 CEST

have a wrapper script which you call via your php script..

in there have something like this:

***
nohup var/www/html/services/ftp.sh $zipfile &
***

This way the process will detatch itself from the script, let the
script complete and all id dandy..
Received on Mon May 1 03:06:41 2006