I am using ssh
to connect to another (faster) computer in order to run some python code there. As I expect it to run several hours, I would like to disconnect after running it, like this:
$ ssh user@my-other-computer
$ python file.py &
$ exit
However, if I try this, I get the message:
zsh: you have running jobs.
I tried using nohup
:
$ nohup nice python file.py &
but to no avail.
How can I achieve my goal?