Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #6160
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <claudiu@virtuamagic.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.040 |
| X-Spam-Evidence | '*H*': 0.92; '*S*': 0.00; 'content- type:multipart/signed': 0.09; 'subject:access': 0.09; 'subprocess': 0.09; 'content-type:application/pgp-signature': 0.16; 'filename:fname piece:asc': 0.16; 'filename:fname piece:signature': 0.16; 'filename:fname:signature.asc': 0.16; 'runs.': 0.16; 'subject:subprocess': 0.16; "tim's": 0.16; 'argument': 0.16; 'subject:Windows': 0.20; 'header:In-Reply-To:1': 0.21; 'seems': 0.21; "wasn't": 0.22; 'handles': 0.26; 'windows': 0.26; "i'm": 0.27; 'quoting': 0.30; 'url:key': 0.30; 'to:addr :python-list': 0.33; 'thank': 0.35; 'all.': 0.35; 'header:User- Agent:1': 0.35; 'gnu': 0.35; 'quite': 0.36; 'list:': 0.36; 'think': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'message:': 0.39; 'called': 0.39; 'to:addr:python.org': 0.39; 'your': 0.60; 'header :Message-Id:1': 0.62; 'address': 0.62; 'closed': 0.62; 'url:net': 0.63; 'header:Reply-To:1': 0.72; 'reply-to:no real name:2**0': 0.72; 'night': 0.77; 'trick.': 0.84 |
| From | Claudiu Nicolaie CISMARU <claudiu@virtuamagic.com> |
| Organization | virtuaMAGIC |
| To | python-list@python.org |
| Subject | Re: File access denied after subprocess completion on Windows platform |
| Date | Tue, 24 May 2011 20:17:25 +0300 |
| User-Agent | KMail/1.13.7 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.3; i686; ; ) |
| References | <mailman.2013.1306231878.9059.python-list@python.org> <edf3e4cf-d706-4c33-949f-dac937a73bc9@z13g2000prk.googlegroups.com> |
| In-Reply-To | <edf3e4cf-d706-4c33-949f-dac937a73bc9@z13g2000prk.googlegroups.com> |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; boundary="nextPart1472902.poNUEluxlu"; protocol="application/pgp-signature"; micalg=pgp-sha1 |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| Reply-To | claudiu@virtuamagic.com |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2030.1306257450.9059.python-list@python.org> (permalink) |
| Lines | 43 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1306257450 news.xs4all.nl 49183 [::ffff:82.94.164.166]:50414 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:6160 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
I'm quoting a message that I received on personal address and wasn't sent to list: > > try adding argument close_fds=True to subprocess.Popen > > harish > And Tim's message: > It's not quite clear from your description above whether you > can be sure that the called subprocess has closed all its handles > by the time the os.rename runs. Seems that close_fds did the trick. Anyway, I read that description on the documentation last night but I think I was so tired that I understood that in Windows has no effect... :) Thank you, all. -- Claudiu Nicolaie CISMARU GNU GPG Key: http://claudiu.targujiu.net/key.gpg T: +40 755 135455 E: claudiu@virtuamagic.com, claudiu.cismaru@gmail.com
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
File access denied after subprocess completion on Windows platform Claudiu Nicolaie CISMARU <claudiu@virtuamagic.com> - 2011-05-24 13:01 +0300 Re: File access denied after subprocess completion on Windows platform Claudiu Nicolaie CISMARU <claudiu@virtuamagic.com> - 2011-05-24 20:17 +0300 Re: File access denied after subprocess completion on Windows platform Claudiu Nicolaie CISMARU <claudiu@virtuamagic.com> - 2011-05-24 23:18 +0300 Re: File access denied after subprocess completion on Windows platform Terry Reedy <tjreedy@udel.edu> - 2011-05-24 18:03 -0400 Re: File access denied after subprocess completion on Windows platform Tim Golden <mail@timgolden.me.uk> - 2011-05-25 08:17 +0100 Re: File access denied after subprocess completion on Windows platform Claudiu Nicolaie CISMARU <claudiu@virtuamagic.com> - 2011-05-25 11:20 +0300
csiph-web