Hello,

  Running PHP 4.0.6 on RedHat 7.2.

  I'm writing a command line script (called scirpt.php) and am using the
backtick operator to start other processes from my script.

$com_response = `./other_script.php` ; or #com_response = `wget ....`;

I can kill scirpt.php easily but that wont kill other_script.php, there
would be no problem killing one process manually, but i could have many
scirpts starting from the main script. Killing them all would be a task. I
could prefix their name them with 'ch_' and kill all these. But thats not
the solution i'm looking for.

Is there a way to make a process a child, so that when the parent
termintaes/is terminated  the child terminates also ?
thx

gamin.






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

Reply via email to