This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: how to make sure subprocesses die?
- From: Warren Young <wyml at etr-usa dot com>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Tue, 18 Aug 2015 08:31:52 -0600
- Subject: Re: how to make sure subprocesses die?
- Authentication-results: sourceware.org; auth=none
- References: <55D33D15 dot 2030401 at gmail dot com>
On Aug 18, 2015, at 8:11 AM, Noel Grandin <noelgrandin@gmail.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