Background Job stops when closing shell
I am trying to force a process to run in background. I have tried the following options
1) /path/command &
2) /path/command ( press CTRL + Z , type bg )
However, the job remains assigned to the current shell ( ie, the shell which started the process ). When I close/disconnect the shell, the background process stops immediatly.
How can I prevent this please?