delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/18/10:32:07

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=XwPFGHfb8y7LDPzLx8xD+rmDlFa9
D8hLu3+UUS6dNdEflOJtoxV2nMsx+kuZTIRalILL02CFFrCS+BBT9YGJvQWTmYDP
N9WTSDXExS89ZgYdHt0NQIfQd6neel7I1PGdhZaKBjLq5MYHVUNrox3ggR6LgcRk
XHgm0q7xz1Aa2CQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=s9vF/nhPsmXtXR4L2uXoe8omCu4=; b=ui
xPOeH5fYpcjaHP3BG24lzx9h86pWtTCTaAzxk+l7UURQBpsdr81NoRecw/uY2c0x
7OogG8xggZ0h/QI8/KENSzKwgOLiuCQnmCVZ+fXIL6XyfZ6pqMWbzZ1k0+d0CWFB
YgHO998yn9gCWOh8rorz5zAaF97A+OY2ag4p0mJ/s=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: etr-usa.com
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\))
Subject: Re: how to make sure subprocesses die?
From: Warren Young <wyml AT etr-usa DOT com>
In-Reply-To: <55D33D15.2030401@gmail.com>
Date: Tue, 18 Aug 2015 08:31:52 -0600
Message-Id: <47B92080-8E07-4832-9520-A183E3436070@etr-usa.com>
References: <55D33D15 DOT 2030401 AT gmail DOT com>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t7IEW2qF011487

On Aug 18, 2015, at 8:11 AM, Noel Grandin <noelgrandin AT gmail DOT com> wrote:
> 
> When running GNU make from the cygwin bash prompt and killing it with CTRL-C, the children don't seem to be dying properly.

  $ svn checkout svn://svn.code.sf.net/p/ctags/code/trunk ctags
  $ cd ctags
  $ autoconf && autoheader && ./configure
  $ make -j3
  gcc -I. -I. -DHAVE_CONFIG_H -g -O2 -c args.c
  gcc -I. -I. -DHAVE_CONFIG_H -g -O2 -c ant.c
  gcc -I. -I. -DHAVE_CONFIG_H -g -O2 -c asm.c
  gcc -I. -I. -DHAVE_CONFIG_H -g -O2 -c asp.c
  gcc -I. -I. -DHAVE_CONFIG_H -g -O2 -c awk.c
  gcc -I. -I. -DHAVE_CONFIG_H -g -O2 -c basic.c
  gcc -I. -I. -DHAVE_CONFIG_H -g -O2 -c beta.c
  gcc -I. -I. -DHAVE_CONFIG_H -g -O2 -c c.c
  <Ctrl-C>
  make: *** Deleting file 'basic.o'
  Makefile:220: recipe for target 'beta.o' failed
  make: *** [beta.o] Interrupt
  Makefile:220: recipe for target 'basic.o' failed
  make: *** [basic.o] Interrupt
  $

Works for me.

Disagree?  Provide a replicable, simple test case to show it.
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019