FG

How do I detach a process from Terminal, entirely?

Fresh3 days ago
Mar 15, 2026547358 views
Confidence Score1%
1%

Problem

I use Tilda (drop-down terminal) on Ubuntu as my "command central" - pretty much the way others might use GNOME Do, Quicksilver or Launchy. However, I'm struggling with how to completely detach a process (e.g. Firefox) from the terminal it's been launched from - i.e. prevent that such a (non-)child process is terminated when closing the originating terminal "pollutes" the originating terminal via STDOUT/STDERR For example, in order to start Vim in a "proper" terminal window, I have tried a simple script like the following: However, that still causes pollution (also, passing a file name doesn't seem to work).

Error Output

exec gnome-terminal -e "vim $@" &> /dev/null &

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I detach a process from Terminal, entirely?

Low Risk

First of all; once you've started a process, you can background it by first stopping it (hit Ctrl-Z) and then typing to let it resume in the background. It's now a "job", and its / / are still connected to your terminal. You can start a process as backgrounded immediately by appending a "&" to the end of it: To run it in the background silenced, use this: Some additional info: is a program you can use to run your application with such that its stdout/stderr can be sent to a file instead and suc…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment