bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33127: about run nohup command in Cygwin by ssh


From: FORGET
Subject: bug#33127: about run nohup command in Cygwin by ssh
Date: Tue, 23 Oct 2018 15:40:50 +0800

hello,
    thanks for your time reading my mail.
    when I use 'nohup' command in Cygwin, there is a problem.
    steps as following:
      1) ssh to a PC(windows installed Cygwin) by putty, we can call 
puttyTerminal1
      2) run command 'nohup /cygdrive/d/test/setup-x86_64.exe &'
      3) use another ssh with same account to login to same pc (also by putty 
window) , we can call puttyTerminal2
      4) run command 'ps -ef|grep setup-x86'on puttyTerminal2, can see there is 
a backend process running this exe.
      5) close puttyTerminal1
      6) run command 'ps -ef|grep setup-x86'on puttyTerminal2. the backend 
process is gone.
    
      But when we use 'nohup', it should act always running backend, not gone 
with disconnection of ssh, right?
      I use putty, MobaXterm, results are all the same. So I think is not the 
problem with clients of ssh. 
      I use putty to connect with a Linux pc, when I close putty, backend 
process with 'nohup' is still there.
      Maybe there is something wrong with 'nohup' in Cygwin? 
     
    Here is my package info of cygwin. Hope it helps. 
      Cygwin Package Information
      Package                                    Version                    
Status
      _autorebase                                001007-1                   OK
      openssh                                    7.8p1-1                    OK
      openssl                                    1.0.2p-1                   OK
    
     thanks~~

reply via email to

[Prev in Thread] Current Thread [Next in Thread]