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
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!