RE: how to nohup on windows?

From: Yong Huang <yong321_at_yahoo.com>
Date: Fri, 24 Oct 2008 13:15:39 -0700 (PDT)
Message-ID: <102771.30803.qm@web80607.mail.mud.yahoo.com>


There're a couple of good suggestions so far. But start /b should not be one. That's equivalent to appending & to a command on UNIX/Linux, not nohup, which ignores SIGHUP signal. Windows doesn't have the signal concept. The Windows equivalent of nohup is running a command even after the user logs off. An "overkill" solution is to create a service to run your command. An easier way is to schedule a task. But if you have psexec.exe (from sysinternals.com), you can run the command as the pseudo user system, which obviously never logs off: psexec -s -d yourcommand. The -d switch is like start /b or & on UNIX.

Yong Huang       

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Oct 24 2008 - 15:15:39 CDT

Original text of this message