Re: Can't logout before command finished
Jörg-Volker Peetz wrote:
> H.H. Ding wrote:
>> hi list
>>
>> I ssh to remote host, then run a program and put it to background,
>> then I try to logout, but bash paused and wait until the program
>> finished. How can I logout immeditaly?
>>
>>
>> hhding
>
> Don't exit, use the ssh built in '~.' (ssh(1) Escape Characters).
Forgot to say: start your program in background and elder process 1 like
this:
( my_program & )
and then
~.
--
Regards,
Jörg-Volker.
Reply to: