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

How to get a list of programs running with nohup

When I started with $ nohup storm dev-zookeper , METHOD1 : using jobs, prayagupd@prayagupd:/home/vmfest# jobs -l [1]+ 11129 Running nohup ~/bin/storm/bin/storm dev-zookeeper & NOTE: jobs shows nohup processes only on the same terminal session where nohup was started. If you close the terminal session or try on new session it won’t show the nohup processes. … Read more

tech