1
In general, a Windows user cannot launch a batch file and suppress the Terminate batch job (Y/N)
prompt on Ctrl+C
without some serious workarounds or limitations.
But, I am wondering with a Cygwin shell (bash) in particular, can I launch it in such a way as to handle Ctrl+C
without encountering the Terminate batch job (Y/N)
prompt on the exit of the shell.
Perhaps, if launching it via a batch file necessarily causes that prompt on Ctrl+C
, then does an effective way to launch it exist outside of a batch file? I know that the Cygwin.bat file does configure some variables, so I would prefer to be able to configure similar variables with another workaround.
I would like a general answer, but I am using the ConsoleZ wrapper to contain the terminal session(s), so I would give more weight to answers that work within this framework.