Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.stanford.edu!not-for-mail From: Stephane Chazelas Newsgroups: gnu.bash.bug Subject: Re: SIGINT handling Date: Mon, 21 Sep 2015 22:43:23 +0100 Lines: 18 Approved: bug-bash@gnu.org Message-ID: References: <20150918151439.GA16455@chaz.gmail.com> <20150919203628.GA27872@chaz.gmail.com> <20150921094807.GA6229@chaz.gmail.com> <56005BC4.1070906@case.edu> <20150921212403.GB12000@chaz.gmail.com> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: usenet.stanford.edu 1442871809 5300 208.118.235.17 (21 Sep 2015 21:43:29 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash , Jilles Tjoelker To: Chet Ramey Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=IMy+XxEyYagYUb8NIjc8Sd8uie1tUAi82fJqi1EWbJA=; b=i5cbUDtyeGMt8wOJ5EbZqTgo98m4UCqAaidZX7e0VGSclLLLuj67rGUuma2NpqTH1+ oPpzTIyV0NXvMjnHY0JL8cCLPBc5yiLzALKtwavC2GU/clvNHMWWOdPBr0v/JMZLzpKd XIjCHmysCKZ2uQJC57JtR5xXAR0Q5m762FW6sXl0sG4g1FP0iADVG8PT58U/ce1JTViL YfnQMMQA2sG1V+TLFaOzjDUt60a18AQZqcqqBB9iGcn/KRgAJDKkMYE4yy3ybzwgZOHz zWL42YCdKYq5GhkWid9iOo95+YklwpW11K1S6AKcez/Kramyq5b+OMnX4MtPW7TaT6Bv PBmw== X-Received: by 10.180.10.170 with SMTP id j10mr16624801wib.77.1442871804120; Mon, 21 Sep 2015 14:43:24 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20150921212403.GB12000@chaz.gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::233 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:11531 2015-09-21 22:24:03 +0100, Stephane Chazelas: [...] > If it didn't, we could not use it in scripts of shells that > don't do WCE *but also in non-shell scripts* (perl, python, > ruby...) or non-scripts. [...] For completeness perl's and python's system() like system(3) ignore SIGINT, so it's a WUNE (wait and unconditionaly not exit). python's subprocess.call() does "IUE" (for "immediate unconditional exit") -- Stephane