public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Kamran <mksh68@yahoo.com>
To: cygwin@cygwin.com
Subject: DOS pause command hangs in batch files
Date: Sun, 31 Jul 2022 09:52:06 +0500	[thread overview]
Message-ID: <0aac59f8-eea5-cd49-d36a-57f8267108d1@yahoo.com> (raw)
In-Reply-To: <0aac59f8-eea5-cd49-d36a-57f8267108d1.ref@yahoo.com>

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

       reply	other threads:[~2022-07-31  4:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <0aac59f8-eea5-cd49-d36a-57f8267108d1.ref@yahoo.com>
2022-07-31  4:52 ` Kamran [this message]
2022-07-31  8:23   ` Takashi Yano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0aac59f8-eea5-cd49-d36a-57f8267108d1@yahoo.com \
    --to=mksh68@yahoo.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).