Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [disown]

In the Unix shells bash and zsh, the disown builtin command is used to remove jobs from the job table, or to mark jobs so that a SIGHUP signal is not sent to them if the parent shell receives it (e.g. if the user logs out).

4
votes
1answer
377 views

How to open the gnome-terminal within the gnome-terminal without disowning

If I open the gnome-terminal within the gnome-terminal, the newly created terminal automatically gets disowned from the parent. Some other applications do not. How to simulate that behavior? How to ...
1
vote
1answer
99 views

Prognosis for disowned X11 program. Can I un-disown it?

I have a disowned X11 program, running under my user account. I started it during an SSH session that was disconnected due to a network problem. I'd like to continue working with it, if possible. Can ...
0
votes
1answer
21 views

How to start and disown a process in a single line?

I noticed that many times I need to start a process and disown it immediately. I trying to achieve this in a single line. Any ideas how to do it?
5
votes
0answers
4k views

Detach a process from Sh (not Bash) or “disown” for Sh (not Bash)

Consider a shell script executed by Sh, not Bash (and I can't change it, and can't use a shebang, it's ignored). The & operator works, but disown $! does not and makes Sh complains “disown: not ...
2
votes
0answers
317 views

Any caveats to using bash disown from a shell script as an alternative to screen?

I have a process which starts and outputs to a log file. The script which starts it launches it in a GNU screen and then follows the log with tail. The process will immediately begin writing to the ...
0
votes
0answers
203 views

Ways to make a process survive its parent shell's exiting?

In order for a process to survive its parent shell's exiting, what necessary and sufficient conditions does the process need to meet? Specifically considering signals, what signals should be ...