[ python-Bugs-1539954 ] Closing a pipe can lead to uncompleted command

SourceForge.net noreply at sourceforge.net
Mon Aug 14 14:11:29 CEST 2006


Bugs item #1539954, was opened at 2006-08-14 14:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1539954&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Stefan Sonnenberg (sunmountain)
Assigned to: Nobody/Anonymous (nobody)
Summary: Closing a pipe can lead to uncompleted command

Initial Comment:
I'm using python version 
2.3.3 (#0, Apr 22 2004, 11:33:00) [SunCC 5.5]
under Solaris 9.

I'm doing basically this:

p = os.popen("cmd","w")
p.write(cmd_string)
p.close()

Sometimes the command opened with popen does not
work completely.
A explicit p.flush() is needed to get the desired
behaviour.



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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1539954&group_id=5470


More information about the Python-bugs-list mailing list