public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* DOS pause command hangs in batch files
       [not found] <0aac59f8-eea5-cd49-d36a-57f8267108d1.ref@yahoo.com>
@ 2022-07-31  4:52 ` Kamran
  2022-07-31  8:23   ` Takashi Yano
  0 siblings, 1 reply; 2+ messages in thread
From: Kamran @ 2022-07-31  4:52 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: DOS pause command hangs in batch files
  2022-07-31  4:52 ` DOS pause command hangs in batch files Kamran
@ 2022-07-31  8:23   ` Takashi Yano
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Yano @ 2022-07-31  8:23 UTC (permalink / raw)
  To: cygwin; +Cc: Kamran

On Sun, 31 Jul 2022 09:52:06 +0500
Kamran wrote:
> 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

Thanks for the report. I will fix it shortly.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-31  8:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <0aac59f8-eea5-cd49-d36a-57f8267108d1.ref@yahoo.com>
2022-07-31  4:52 ` DOS pause command hangs in batch files Kamran
2022-07-31  8:23   ` Takashi Yano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).