logo
Prevent a program to quit when closing the terminal
Run a program in a new session

Prevent a program to quit when closing the terminal

Run a program in a new session

It is possible to run a program from the console in a new session. Thus, when closing the terminal in which we entered the command, the process started is not killed. To do this, precede the command by 'setsid'. For example, to open a new terminal:
setsid xterm
Now close the terminal in which you entered the command... xterm remains open.
Be The First To Comment.

Add a comment:





You can use these HTML tags: <br><a><i><b>