Home » Questions » Computers [ Ask a new question ]

How do I detach a process from Terminal, entirely?

How do I detach a process from Terminal, entirely?

I use Tilda (drop-down terminal) on Ubuntu as my "command central" - pretty much the way others might use GNOME Do, Quicksilver or Launchy.

Asked by: Guest | Views: 187
Total answers/comments: 4
bert [Entry]

"If you are using bash, try disown [jobspec];
see bash(1).

Another approach you can try is at now.
If you're not superuser, your permission to use at may be restricted."
bert [Entry]

"Most simple and only correct answer for bash:

command & disown

You dont have to detach the process from terminal, but from the shell."
"Most simple and only correct answer for bash:

command & disown

You dont have to detach the process from terminal, but from the shell."
bert [Entry]

I think screen might solve your problem
bert [Entry]

"in tcsh (and maybe in other shells as well), you can use parentheses to detach the process.

Compare this:

> jobs # shows nothing
> firefox &
> jobs
[1] + Running firefox

To this:

> jobs # shows nothing
> (firefox &)
> jobs # still shows nothing
>

This removes firefox from the jobs listing, but it is still tied to the terminal; if you logged in to this node via 'ssh', trying to log out will still hang the ssh process."