You need to basically develop the process or create a new thread (or pretend)
in * nux you can do this with & after a command like this /long/script & , or on Windows you can create a BATCH file that executes your processes and then exits (this is done naturally).
NOTE. There is no particular way to refer to this process after you fork it, basically just ps for the process list. if you want to see what this process is doing, look with screen (another linux command), which will start a session for you and allow you to "reconnect" to the screen.
To do this, install the screen ( sudo apt-get install screen or yum install screen ). then enter screen to create a new session (note this will look like you didn’t do anything). then run /long/command (without & ), then press CTRL + A + D (at the same time) to disconnect from it (it still works!). then when you want to reconnect, enter screen -r .
Also, find the checkboxes in any help message that allows you to do this without using the above options (for example, in synergy you can say synergy --background )
source share