X-Spam-Check-By: sourceware.org Message-ID: <004c01c5f9e8$080bb100$810aa8c0@adexainc.com> From: "Rob Siklos" To: Subject: when using run.exe, ssh zombie process running after command has finished Date: Mon, 5 Dec 2005 17:05:40 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi All, (using the latest Cygwin as of today) I use the following command line (via a shortcut on my desktop) to open a window to my linux box: run.exe ssh snoopy "export DISPLAY=%COMPUTERNAME%:0.0; xterm" It works great. However, I just noticed that when I exit the xterm (with CTRL-D, or by typing "exit"), the ssh process is still running in the background. Notes: 1) This problem only happens when running from a Windows shortcut or in cmd.exe. Running the above command in a cygwin bash shell doesn't cause any problems 2) This problem only happens when running inside the run.exe container. Calling ssh directly doesn't leave the zombie processes As a workaround, I can use: bash -c "run.exe ssh snoopy 'export DISPLAY=%COMPUTERNAME%:0.0; xterm'" but then I get a black window pop up (just for a second). Although a workaround exists, this still looks like a bug. I don't know enough to fix something like this, but if anyone wants more information, I'd be glad to provide it. Rob. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/