delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/07/31/04:24:25

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 15A8E38582A3
Authentication-Results: sourceware.org;
dmarc=fail (p=none dis=none) header.from=nifty.ne.jp
Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 26V8NooB014247
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp;
s=dec2015msa; t=1659255830;
bh=ln36LZNrWfwxQq9SEfG4M/GxQM0eSBoQuEbnVCyR31w=;
h=Date:From:To:Cc:Subject:In-Reply-To:References:From;
b=unv+Up4rTFz1LL1kepgaObM1whdykEUnHK5gg44EL2krIqaYgiGZ5pK5ItX08yXz1
VgGiOgcoXfJlLsHTfeL3AIaaSoI8RbjTjfDfaT3DZofAqvlDF3yiLob1vybXMEn3jV
cTeVsgmlHb+jNX1Bwpbm31yY3kkGHfaxPzUdsClE4KC8BNRKK+WZjpKMmKqVl1WLbB
oGtvV2fPcdSFhqcH0xLJoluRJ8zlNwRRx48pcT5NxhnQpyhmjiHknDzBytUwKuBE3y
7XwaqkWkZf46bLWxzB/TnjHe/Kt+QH8LWMB21w5NJZzOah1kRiqlc9T6w00e3id+AN
5ot2sdE+39IvA==
X-Nifty-SrcIP: [119.150.44.95]
Date: Sun, 31 Jul 2022 17:23:50 +0900
From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
To: cygwin AT cygwin DOT com
Subject: Re: DOS pause command hangs in batch files
Message-Id: <20220731172350.cd87ce255f6429e325031789@nifty.ne.jp>
In-Reply-To: <0aac59f8-eea5-cd49-d36a-57f8267108d1@yahoo.com>
References: <0aac59f8-eea5-cd49-d36a-57f8267108d1 DOT ref AT yahoo DOT com>
<0aac59f8-eea5-cd49-d36a-57f8267108d1 AT yahoo DOT com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Cc: Kamran <mksh68 AT yahoo DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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 DOT yano AT nifty DOT ne DOT jp>

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019