View the Most Wanted LQ Wiki articles.
LinuxQuestions.org > Linux Wiki > Talk:Fork off and die

From LQWiki

Jump to: navigation, search

I'm going to add, as soon as I test it, just to make sure:

"""

Note that any file descriptors held open by the forker are held open by the child, even though the child may not be using them! For instance, if a bash shell open use of a CDROM (perhaps with read), and then runs a child program, and then the parent bash shell dies, the child will still hold open the CDROM.

"""

LionKimbro

This is of course a consequence of fork. Does it need to be explicitly said? Dysprosia 20:19, Aug 12, 2004 (EDT)

Share

Personal tools