nohup my_command &

That will run "my_command" in the background and "nohup" ignores the SIGHUP 
signal sent when you log out. Or, originally, "hang up" the modem.

wunder

On Apr 15, 2010, at 8:27 PM, Dan Yamins wrote:

> Hi,
> 
> Normally I've been starting solr like so:
> 
>   java -jar start.jar
> 
> However, I need to have this process executed over a remove ssh connection
> that cannot be blocking.   I'd therefore like to execute the process "in the
> background", , somehow in  a forked process, so that the command returns
> while having set solr to run in the child process.  Is there a simple way to
> do this?
> 
> Thanks,
> dan





Reply via email to