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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to