[Python-bugs-list] [Bug #128685] popen on Win9x isnt smart enough about finding w9xpopen.exe

noreply@sourceforge.net noreply@sourceforge.net
Tue, 30 Jan 2001 23:32:31 -0800


Bug #128685, was updated on 2001-Jan-13 11:38
Here is a current snapshot of the bug.

Project: Python
Category: Extension Modules
Status: Open
Resolution: Remind
Bug Group: Platform-specific
Priority: 5
Submitted by: mhammond
Assigned to : mhammond
Summary: popen on Win9x isnt smart enough about finding w9xpopen.exe

Details: The code in posixmodule that emulates popen*() isnt very smart
about locating the .exe for the Win9x popen hacks.  It assumes that
w9xpopen.exe can be located in the directory of the main executable, which
fails in may embedding situations.

A reasonable fix would be to also attempt to locate the file in the
"sys.prefix" directory - typically this will be set correctly.

Im not at my main dev machine, hence I am submitting a bug rather than a
patch.  I will submit a patch ASAP.

Follow-Ups:

Date: 2001-Jan-30 23:32
By: mhammond

Comment:
Partial fix checked in Rev 2.183 of Modules/posixmodule.c

As per the comments in that checkin, the code now tries sys.prefix, but in
many embedded situations this is still NULL/empty.  As soon as source-force
is accepting new bugs I will close this and open a new one for sys.prefix
being empty in some conditions.
-------------------------------------------------------

Date: 2001-Jan-13 11:39
By: mhammond

Comment:
Giving to me!
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=128685&group_id=5470