Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11531

Re: SIGINT handling

From Stephane Chazelas <stephane.chazelas@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: SIGINT handling
Date 2015-09-21 22:43 +0100
Message-ID <mailman.1562.1442871809.19560.bug-bash@gnu.org> (permalink)
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>

Show all headers | View raw


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

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: SIGINT handling Stephane Chazelas <stephane.chazelas@gmail.com> - 2015-09-21 22:43 +0100

csiph-web