I am using the pcntl_ fork() from PHP. The problem with exec() is that i need the variables and socket-descriptors from the parent.
Thomas 'Neo' Weber --- [EMAIL PROTECTED] [EMAIL PROTECTED] ----- Original Message ----- From: "Michael J. Pawlowsky" <[EMAIL PROTECTED]> To: "PHP-List" <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 7:42 PM Subject: Re: [PHP] signal handler to ignore kill of parent > > Actually let me try to be a bit more helpful... nut not much though :-) > > Did you write the code for the fork(); > > Can you modify it? Read the fork, exec and clone man pages. > This might help you a bit understand the behaviour. > > If so just call exec from the forked process... this will create a new process instead of a child one. > Then call exit() in your forked process. > > Mike > > > > > > > *********** REPLY SEPARATOR *********** > > On 02/01/2003 at 7:05 PM Thomas Weber wrote: > > >Hi, > > > >i need some way for child-processes to ignore the kill of their parent. Any > >idea? > > > >Thanks, > >Thomas 'Neo' Weber > >--- > >[EMAIL PROTECTED] > >[EMAIL PROTECTED] > > > > > >-- > >PHP General Mailing List (http://www.php.net/) > >To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php