spawnl issues with Win 7 access rights

Terry Reedy tjreedy at udel.edu
Mon Oct 24 18:14:31 EDT 2011


On 10/24/2011 10:18 AM, Tim Golden wrote:
> On 24/10/2011 14:18, Tim Golden wrote:
> I ran this (on Python 2.7 on Win7):
>>
>> <code>
>> import os
>>
>> os.spawnl (os.P_NOWAIT, r"c:\windows\notepad.exe")
>>
>> </code>
>>
>> and Python crashed hard! Long time since I've seen that happen.

Same with 3.2 and Win7, interpreter or IDLE.

> OK; the python 2.7 issues is http://bugs.python.org/issue8036

The example there used P_WAIT instead of P_NOWAIT, but I added comment.

-- 
Terry Jan Reedy




More information about the Python-list mailing list