Re: process creation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



bruce wrote:

> A simple question (or so I thought).
> 
> Does php allow an app to create/start a process/application that can
> continue to run on its own, after the initiating program/app
> terminates?

Generally yes, but it's partially up to the spawned process to
completely detach itself.

> It appears that the spawning/forking functions might work, but the
> child apps would be in a zombie status, and couldn't be killed by an
> external program.

I'm not sure, but I think there's something wrong if you can't kill them
with a -9. 

> Basically, I'd like to create a bunch of test apps/processes, and then
> to be able to kill them by a separate process if the apps take too
> long to run..

Why not put a timer in each individual process?


/Per Jessen, Zürich


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux