Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Kill the parent process only without affecting the child

Status
Not open for further replies.

kitkan

Technical User
Jul 30, 2002
2
0
0
HK
I'm running a background process in a sesson (without using nohup). So how I want to quit the session now and I don't want the background process died. Can it be possible?

rgds
Kit
 
"nohup arranges
for the SIGHUP signal to be ignored by the process"

in this way if you close your session the process continue to run !
nohup is enough
Bat
 
Thx Bat,

However, If I forgot to use "nohup" while starting process, will it still be possible to just kill the session without affecting its child process?

rgds
Kit

 
I believe you can in CSH but not in Bourne or Korn.
Ged Jones

Top man
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top