-----Original Message----- From: Benjamin Cao Sent: Friday, November 13, 2015 3:46 PM To: 'cygwin@cygwin.com' Subject: CTRL-C not working in sh login mode?
Hi, We invoke a shell using a *.bat file doing sh --login. We have discovered that when wanting to kill a long running process with CTRL-C, it does not work. Is this expected behavior? I've found that to be the same even if I am doing bash --login -i in my *.bat file. Any guidance would be greatly appreciated. Hi, Just wanted to provide some additional information to make things a bit clearer. Running either "sh -login" or "bash --login -I" from a *.bat file will cause some commands to not be broken with CTRL-C. For example, this test loop cannot be broken with CTRL-C when I start Cygwin up from the *.bat file. echo foo | perl -e 'while(1) {sleep 60;}' Or if I do "cat <file_name> | more", CTRL-C does not work in that case. Again, is that expected behavior? Thanks, Ben Cao -- 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