I treid to use nohup in python on cluster but failed. My code is here below:
import os
path = "/ldfssz1/SP_MSI/USER/"
os.system("nohup sh "+ path + "myjobs.sh &")
Cluster only returns this:
nohup: ignoring input and appending output to `nohup.out'
There were no pid returns and job command returns nothing. Can anyone gives me some idea what's going on here? Thank you very much!