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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=odFJlz4FGCfLRcb8tTRLi6Kslzgs5mmZF1RQAcTxsF8SCcopAH78j r54PTbClSsXEq1t3tHDT2v5Jqnly3KtLitRc8NR/qyjDa22PGwLjpwKju7FzFuWi HR9yB+Q4kaA1f5YaLsKjubvXQhXLQLE45fWDezEfRbIPOiOJ0Lx+RA= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=TsI3Cy9W62DlwQ5//0dD/u2trE4=; b=kluYziAURjbFvsDU6osbUKTJ9H9Q GP8lG3mVOW9M4iWLDpHDokBakmrP73pp5/K3AYhHUXae15ai3OKjBska8a5MwhXr 1QRiHLm1adGDdpIhUWsR8BkicXk4UEV0j1DsOj2OmQjo+MqITHDKgHkmNtGH/Cjz hW6G9VOLw7oQ5Zo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+BeI5NQXoQPviSxbv2oXme Date: Sun, 28 Apr 2013 21:52:44 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: SIGINT not received by processes started by system(3) Message-ID: <20130429015244.GC6560@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) On Sun, Apr 28, 2013 at 06:29:24PM -0500, Daniel R. Grayson wrote: >If I compile and run the program > > #include > main () { > system ("sleep 1001"); > return 0; > } > >then I expect it to terminate if I execute the shell command > > killall -2 sleep > >elsewhere, but it doesn't. > >I searched the archives and couldn't find this mentioned. > >Has anyone else run into this? Looks like a long-standing bug. I'll check in a fix shortly. cgf -- 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