View Single Post

   
  #6 (permalink)  
Old 01-18-2008, 05:55 AM
Rinaldi J. Montessi
 
Posts: n/a
Default Re: launching a program through SSH

On Sat, 11 Dec 2004 18:01:14 +0100, Michael Heiming wrote:
> In comp.os.linux.setup Michael McGarry <replytogroup@nospam.org>:
>> Michael Heiming wrote:
>>> In comp.os.linux.setup IANAL_VISTA <IANAL_Vista@hotmail.com>:
>>>
>>>>Michael McGarry <replytogroup@nospam.org> wrote in
>>>>news:CFEud.92977$EZ.23930@okepread07:

> [..]
>
>>>>>I would like to launch a program through SSH and detach before it
>>>>>completes execution, anyone know how to do this?

> [..]
>
>>> What works is 'nohup':
>>>
>>> nohup progname &
>>>

>> I tried nohup and & alone. Both cause SSH to block until the command
>> completes. I do not want it to block.

>
> Sorry but I didn't understood what you were actually trying,
> please give us the exact commands. Does "nohup progname &" work?


man screen This does what the OP wants.

Rinaldi
--
Fights between cats and dogs are prohibited by statute in Barber, North
Carolina.
Reply With Quote