This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Tue, Jan 15, 2013 at 05:16:57PM -0500, Tom Honermann wrote:I noticed that some changes were checked in related to signal handling and process termination recently, so I downloaded the most recent snapshot (20130114) and tested again. I was still able to produce hanging processes (including hangs of strace.exe) by hitting ctrl-c in a mintty window while Cygwin processes ran in an infinite loop inside of a .bat file. I was able to produce a hang ~1 out of 20 times.
How does one run a .bat file inside mintty which handles CTRL-C? AFAIK, a CTRL-C will just cause the .bat file to exit when run under bash.
@echo off setlocal
:loop echo test... bash -c false if not errorlevel 1 ( echo exiting... exit /B 1 ) goto loop
-- 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |