]> granicus.if.org Git - python/commit
Partial fix to [ Bug #128685 ] popen on Win9x isnt smart enough about finding w9xpope...
authorMark Hammond <mhammond@skippinet.com.au>
Wed, 31 Jan 2001 07:30:29 +0000 (07:30 +0000)
committerMark Hammond <mhammond@skippinet.com.au>
Wed, 31 Jan 2001 07:30:29 +0000 (07:30 +0000)
commit0850137fe4eb3bad462a03e78b5d7a440835e521
treecdb987ec80a0abb4e763b02c3f1bb43a30df5d35
parent64aae6695fa0f7677b94230540a298d686c071e3
Partial fix to [ Bug #128685 ] popen on Win9x isnt smart enough about finding w9xpopen.exe.

"Partial" as the code uses sys.prefix in an attempt to locate 'w9xpopen.exe', but sys.prefix is not set if Python can't find it itself.  So this _still_ fails in Pythonwin, but I am committing the patch for 2 reasons:
* Embedded apps that set sys.prefix or use PYTHONHOME will work
* The exception raised on failure to find the executable is far more obvious
Modules/posixmodule.c