Prevent a program to quit when closing the terminal
Run a program in a new sessionIt 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:
Now close the terminal in which you entered the command... xterm remains open.