delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Fri, 14 Oct 2005 12:36:55 -0700 |
From: | David Rothenberger <daveroth AT acm DOT org> |
Subject: | Sleep not terminating |
To: | cygwin <cygwin AT cygwin DOT com> |
Message-id: | <435008D7.7060903@acm.org> |
MIME-version: | 1.0 |
User-Agent: | Mozilla Thunderbird 1.0.7 (Windows/20050923) |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
I'm encountering a weird problem with sleep. If I run $ while true; do sleep 120; done & [1] 6780 $ kill %1 the bash process (6780) and its child sleep process are both killed. However, if I kill the bash process using the pid, the child sleep process is not killed. $ while true; do sleep 120; done & [1] 5528 $ kill 5528 $ ps -ef | grep sleep drothe 6532 1 0 12:26:41 /bin/sleep I guess this problem has been around for a while. I'm seeing it with the latest snapshot and also with 1.5.18, with the latest bash and the test bash. -- David Rothenberger spammer? -> spam AT daveroth DOT dyndns DOT org GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734 (null cookie; hope that's ok) -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |