Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '2.7': 0.04; '3.2': 0.05; 'url:bugs': 0.05; 'interpreter': 0.07; 'received:verizon.net': 0.07; 'terry': 0.07; 'python': 0.08; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subject:access': 0.09; 'am,': 0.12; 'reedy': 0.16; 'subject:issues': 0.16; 'wrote:': 0.16; 'jan': 0.19; 'header:In-Reply-To:1': 0.22; '(on': 0.23; 'happen.': 0.23; 'import': 0.28; 'example': 0.30; 'ran': 0.30; 'there': 0.33; 'to:addr:python-list': 0.33; 'instead': 0.33; "i've": 0.34; 'header:User-Agent:1': 0.34; 'header:X-Complaints-To:1': 0.35; 'url:python': 0.36; 'but': 0.37; 'received:org': 0.38; 'url:org': 0.38; 'subject:: ': 0.39; 'header:Mime-Version:1': 0.39; 'subject:with': 0.39; 'to:addr:python.org': 0.39; 'golden': 0.73; 'comment.': 0.84; 'hard!': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: spawnl issues with Win 7 access rights Date: Mon, 24 Oct 2011 18:14:31 -0400 References: <4EA565A3.3030909@timgolden.me.uk> <4EA573C8.1080502@timgolden.me.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-74-109-121-73.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0 In-Reply-To: <4EA573C8.1080502@timgolden.me.uk> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1319494487 news.xs4all.nl 6895 [2001:888:2000:d::a6]:56946 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:14940 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): >> >> >> import os >> >> os.spawnl (os.P_NOWAIT, r"c:\windows\notepad.exe") >> >> >> >> 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