It is currently Tue, 30 Nov 2021 18:00:05 GMT



 
Author Message
 Parent process also terminating after killing child process in SIGINT
Ok. So, I am killing my child process when I press Ctrl-C. This works great
except for one odd problem. Unless I do something like a cout right before the
kill statement in my sigint_handler func, my parent all terminates immediately
with the message "Terminated" being displayed. Does anyone know any reason for
this?

Thank you,
Chad



 Wed, 14 Jan 2004 04:35:24 GMT   
 
   [ 1 post ] 

Similar Threads

1. Parent process also terminating after killing child process in SIGINT

2. Child process terminates when parent process killed

3. how to kill a child process that runs other children processes

4. Newbie question, killing child processes along with parent

5. Help: Killing children processes but not their parents

6. Best way to quickly kill parent and all child processes

7. Terminate process without killing children

8. Child processes ALWAYS die when parent killed?

9. Child Process Waiting for Parent Process

10. child processes not dying with parent process??


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software