hi,
well
i am not pretty sure about this myself, but i think this is how it
works.
Once
u log into Linux (or UNIX), all ur programs(processes) are associated with ur
control terminal. Now if this contol terminal gets killed then all the process
associated with this control terminal also get terminated automatically, which
was what was happening to your background process when u logged
out.
The
nohup option allows a process to run even after the control terminal with which
it is associated has been terminated. So the background process remains even
after you logout.
Hope
this helps..ANd if someone has greater insight to this. Well I am
waiting.
Regds
A.Madhusudan
-----Original Message-----
From: Vikas
Gandhi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 22, 2002
2:33 PM
To: multiple recipients of
Subject: [ilugd]:
Background process killed
Hi AllI am facing a strange situation. I running a process witn &(background) and gets killed when I close the session. However it does not happen with other processes. The thing was rectified when I ran the process with nohup option.Can someone explain this behaviour.I have some questions.....1. Whats the diff between running a process in background and running a process with nohup in background?2. Does a process should get killed by itself whenever I logout out of this session or not?ThxVikas
