how to make sure subprocesses die?
Warren Young
wyml@etr-usa.com
Tue Aug 18 14:31:00 GMT 2015
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
More information about the Cygwin
mailing list