What’s the nohup on Windows?

You could use the Windows start command: start /min java -jar spider.jar This command is not really the same as nohup; but it might be suitable if you’re happy with the Java process running in a separate minimised window. See http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx

Run a program from python, and have it continue to run after the script is killed

The child process receives the same SIGINT as your parent process because it’s in the same process group. You can put the child in its own process group by calling os.setpgrp() in the child process. Popen‘s preexec_fn argument is useful here: subprocess.Popen([‘nohup’, ‘my_command’], stdout=open(‘/dev/null’, ‘w’), stderr=open(‘logfile.log’, ‘a’), preexec_fn=os.setpgrp ) (preexec_fn is for un*x-oids only. There … Read more