DOS pause command hangs in batch files

Kamran mksh68@yahoo.com
Sun Jul 31 04:52:06 GMT 2022


Hi all

I use some batch (*.bat/*.cmd) files for my work.

I usually work from within cygwin/mintty

Last year (i.e. from June 2021),
"pause" command (from DOS era) hangs
the batch file, until ^C is pressed.

Lately pressing ^C does nothing, and
I have to kill the mintty process
from task-manager.

This happens only when the batch file
is started from mintty. Not from cmd.

uname -a

CYGWIN_NT-10.0-19044 pc 3.3.5-341.x86_64 2022-05-13 12:27 UTC x86_64 Cygwin

mintty version 3.6.1

Kamran

Note: Please keep me in the reply, as I am not subscribed


More information about the Cygwin mailing list