LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-02-2007, 05:13 AM   #1
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 116

Rep: Reputation: 6
how parent process can control it's child?


Hello
I have a question about processes in linux. In my app parent process launch child process, and it is needed when the parent process crash, child process also must exit. Is it any special linux system call to launch child to achive it?
 
Old 08-02-2007, 05:19 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
As far as I understand it, all child processes should die if their "mother" process dies. What's the problem?
 
Old 08-02-2007, 05:31 AM   #3
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 116

Original Poster
Rep: Reputation: 6
so, in linux if parent provess die, child process will die too?
 
  


Reply

Tags
child, linux, process


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
child process usses same amount of ram as parent process socialjazz Programming 7 10-19-2006 06:48 PM
When I kill parent process, child isn't killed BengeBoy Linux - Software 0 08-19-2004 05:38 PM
Bash Scripting - child process affecting parent process mthaddon Linux - General 1 05-02-2004 02:19 PM
about parent and child process winwar Solaris / OpenSolaris 3 07-23-2003 07:07 AM
child and parent process error jdevanand Programming 1 04-29-2002 09:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration