Results 1 to 1 of 1
Ok, this is not a really important. I just do a little test on my Linux. So it is like this :
if I run a program , let say ...
- 10-27-2008 #1
The behaviour of process parent and child
Ok, this is not a really important. I just do a little test on my Linux. So it is like this :
if I run a program , let say xclock from konsole, then the parent is konsole while the xclock is child, right? The first attempt I open and then close the konsole the result is both programs closed.
Now I run xclock with syntax
xclock &
And I close the konsole, this time the xclock won't closed. Why? Because it is background?
In what condition, the child process won't die if the process die? I thought normally the child process won't die, coz as I've heard the child will be inherited by parent. But if so, why I close konsole, the xclock (in normal) will also be closed?


Reply With Quote