delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/13/15:46:40

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=rSr
svl8Ppov2LznUwMW+AterFv8ZMdrPaWyiN935s078+Q8K84uGiQVKX/9Kz7NN0hp
YQGX4xMVBATaE0KRWV8EFv1QWrKBpvc9vxVV3JAjTb79/7wqJmH5hPWY1vNcqBzi
CX1TM3FP4FXU6vgjtoYhmDG8933fpGqLSanFkJkA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=nnsd+Te7V
nYoH1qCdNxZXB+SkpQ=; b=jLRklhMTYvc6VhSpT2Nv73IOWXq8vB6Ac0rWUgGCW
OCE6ZNEGW5GpMkSbdV0wkwq6GMUS9Q2/yJz9JGdYlAKF5Pofp6YyDIACvvu1Z9CU
k1H9Kpkbt+lU/+TCAebLG5uNI99BM3n3sTvkpP+UvQKnJ4DJ2RmSxQMULJhdX9AL
r4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail1.bemta12.messagelabs.com
X-Env-Sender: becao AT progress DOT com
X-Msg-Ref: server-6.tower-152.messagelabs.com!1447447578!1566148!1
X-StarScan-Received:
X-StarScan-Version: 7.19.2; banners=-,-,-
X-VirusChecked: Checked
From: Benjamin Cao <becao AT progress DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: CTRL-C not working in sh login mode?
Date: Fri, 13 Nov 2015 20:46:11 +0000
Message-ID: <a1b4980578e947a39ca64161f4cf8327@ntmaexbe03.bedford.progress.com>
x-ms-exchange-transport-fromentityheader: Hosted
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id tADKkaCg026059

Hi,

We invoke a shell using a *.bat file doing sh --login.

We have discovered that when wanting to kill a long running process with CTRL-C, it does not work.

Is this expected behavior?

I've found that to be the same even if I am doing bash --login -i in my *.bat file.

Any guidance would be greatly appreciated.

Thanks,
Ben Cao

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


- Raw text -


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