Re: Control-c of a bat file does not kill commands run by bat file in some cases

2008-07-18 Thread Brian Dessent
Hugh Sasse wrote: > to see what these things are. I think stty -a should suffice > to tell you what "intr" is. Or, in other words, you may have > to hit something other than to kill things, unless you > reset it with stty. That logic is faulty because stty is a Cygwin program. When connected

Re: Control-c of a bat file does not kill commands run by bat file in some cases

2008-07-18 Thread Hugh Sasse
On Fri, 18 Jul 2008, Mark Charney wrote: Is this a bug or a feature? When I run a program loop.exe whose entire source is "int main() { while(1); return 0;}", compiled with MS VS8 or cygwin's gcc, from a bat file whose contents are just "loop.exe" and hit control-c while it is running, som

Re: Control-c of a bat file does not kill commands run by bat file in some cases

2008-07-18 Thread Corinna Vinschen
On Jul 18 09:45, Mark Charney wrote: > Is this a bug or a feature? > > When I run a program loop.exe whose entire source is "int main() { > while(1); return 0;}", compiled with MS VS8 or cygwin's gcc, from a bat file > whose contents are just "loop.exe" and hit control-c while it is running

Control-c of a bat file does not kill commands run by bat file in some cases

2008-07-18 Thread Mark Charney
Is this a bug or a feature? When I run a program loop.exe whose entire source is "int main() { while(1); return 0;}", compiled with MS VS8 or cygwin's gcc, from a bat file whose contents are just "loop.exe" and hit control-c while it is running, sometimes cygwin kills the loop.exe and some