Re: exec timing out, want to leave process running in bg

From: Date: Wed, 07 Mar 2001 10:28:23 +0000
Subject: Re: exec timing out, want to leave process running in bg
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42887@lists.php.net to get a copy of this message
Oh yeah, we don't wanna get HUPed! --- Christian Reiniger <creinig@mayn.de> wrote: > On Wednesday 07 March 2001 06:37, you wrote: > > Hi, > > > > Well there are many ways to run a process in the > > background, my favorite way is detaching the > process > > or the program or process from within, so if it's > a c > > program pretty easy, but incase you dont have the > > source, then you can use this: > > > > exec("mp3123 -y -Z --all 1>/dev/null/ 2>&1 &"); > > better add "nohup" to that: > exec("nohup mp3123 -y -Z --all 1>/dev/null/ 2>&1 > &"); > > > well that simply puts the stdout and stderr in the > > same file /dev/null, and puts it into the > background. > > -- > Christian Reiniger > LGDC Webmaster (http://sunsite.dk/lgdc/) > > What luck for the rulers that men do not think. > > - Adolf Hitler > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-general-unsubscribe@lists.php.net > For additional commands, e-mail: > php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > ===== To find out more about me : http://www.geocities.com/mimodit My bookmarks are available @ http://mukul.free.fr __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/

« previous php.general (#42887) next »