[patch] #40508 - keep ssh subprocess in same process group

Jan Hudec bulb at ucw.cz
Wed Apr 26 19:13:11 BST 2006


On Wed, Apr 26, 2006 at 21:57:13 +1000, Martin Pool wrote:
> On 26/04/2006, at 7:21 PM, Jan Hudec wrote:
> >From these, at least HUP, INT, PIPE, TERM, USR1, USR2, PWR (where
> >defined) and maybe QUIT are likely to occur occasionally and should be
> >trapped.
> 
> SIGPIPE is already turned into IOException with errno=EPIPE by  
> Python.  I suppose unwinding on receipt of the others is the most  
> reasonable thing.

I never needed to know, so I didn't. But it's exactly what happens if you
ignore SIGPIPE -- the syscall that would generate it simply sets errno to
EPIPE.

-- 
						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060426/a1d1f46d/attachment.pgp 


More information about the bazaar mailing list