[Patches] [ python-Patches-405952 ] cmd.py uses raw_input(); eats SIGCLD

nobody nobody@sourceforge.net
Sun, 04 Mar 2001 23:20:01 -0800


Patches #405952, was updated on 2001-03-04 23:20
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=405952&group_id=5470

Category: library
Group: None
Status: Open
Priority: 5
Submitted By: Anthony Baxter
Assigned to: Nobody/Anonymous
Summary: cmd.py uses raw_input(); eats SIGCLD

Initial Comment:
I discovered a rather nasty side effect of the standard
cmd.py library
today. If it's sitting inside raw_input(), any SIGCLDs
that get sent to
your application get silently eaten and ignored. I'm
assuming that this
is something that readline is thoughtfully doing for me.

This patch adds an instance attr that allows the user
to select to
not use raw_input(), but instead use sys.stdin.readline()


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=405952&group_id=5470