LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Background Jobs

[ILUG] Background Jobs

John P . Looney valen at tuatha.org
Wed Nov 8 07:49:45 GMT 2000


On Wed, Nov 08, 2000 at 11:16:35AM +0500, David Neary mentioned:
> Anyone know how to nohup an app after running it? I wasn't aware that
> csh did that by default for bg processes, but I use ksh or bash most of
> the time anyway - is there any way I can nohup a process by pid, in the
> same way as I can nice it? Is there a way to do this through top? Or is
> it possible to (maybe) change the PPID of a process while it's running.
> to init, say?

 You can't really. It relies on the fact that the parent of the job is
"nohup" which is setp to ignore "HUP" signals. Unless the shell were
written that you could tell it to "ignore HUPs yourself", it's not
feasible..

Kate





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell