Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44459

Re: "python.exe has stopped working" when os.execl() runs on Windows 7

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <davea@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Windows': 0.02; 'example:': 0.03; "'',": 0.07; 'linux,': 0.07; 'assumed': 0.09; 'executable': 0.09; 'runs': 0.10; 'windows': 0.15; 'cmd': 0.16; 'received:74.208.4.195': 0.16; 'subject: \n ': 0.16; 'subject:stopped': 0.16; 'subject:when': 0.16; 'wrote:': 0.18; 'command': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'exists': 0.24; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; "i'm": 0.30; 'lines': 0.31; "skip:' 10": 0.31; 'description,': 0.31; 'run': 0.32; 'running': 0.33; 'more,': 0.35; 'but': 0.35; 'right?': 0.36; 'should': 0.36; 'error.': 0.37; 'two': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'subject:" ': 0.39; 'to:addr:python.org': 0.39; 'email addr:gmail.com': 0.63; 'received:74.208': 0.68; 'saw': 0.77; "it'd": 0.84; 'played': 0.84
Date Sat, 27 Apr 2013 22:02:01 -0400
From Dave Angel <davea@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5
MIME-Version 1.0
To python-list@python.org
Subject Re: "python.exe has stopped working" when os.execl() runs on Windows 7
References <2e11de8b-f7e1-407f-a2fd-a08d5ce55d0b@googlegroups.com> <mailman.1131.1367110561.3114.python-list@python.org> <b53733c1-7d3f-47dd-bc6d-7f33fa91aa78@googlegroups.com>
In-Reply-To <b53733c1-7d3f-47dd-bc6d-7f33fa91aa78@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:mr4sLLy2FuohNmgC+wi5cTYWo//0w9yCdAQfKnW7GPg XWutZwrKvU6kt306lG7oC1hYBAjIhc8eOIBz0ondyDWLLJNXsm /OqJoEa8nlOJ12NILTu5hiHtJ3P9fIvHgGRawsX2mkbVDkOq4N AZRbgVlgEFff7ZwiWGe2OVAdPusSaqId7Hpz3mBhLdlyxaQfiy C5xnMuR2dAjbc9yhZ7iH4qchuXfZXjIO/F9i18LivnENqIT/e9 Z76MIm6L+efwoaFnR3+ovoMCW/fy/YVrVeIgXFEo179oTNaaLz fJxvMz4ORrbmdC+TTboaENYvRrOBrmlxUEwX92XrukevzQ0Jw= =
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
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.1132.1367114541.3114.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1367114541 news.xs4all.nl 15903 [2001:888:2000:d::a6]:40467
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44459

Show key headers only | View raw


On 04/27/2013 09:05 PM, cormogram@gmail.com wrote:
> Yes, just those two lines cause the error. 'filename.exe' exists and runs ok in the command prompt. Any other executable cause the problem, also '', for example:
>
> os.execl('','')
>
> If doesn't work on Windows it should give an error message, right?
>

I'm not running Windows any more, so it's hard to be conclusive.  When I 
saw the description, I just assumed it'd be problematic under Windows. 
That's why I had never played with it.  By the time I escaped to Linux, 
I was used to subprocess, so I still never played with execl.  But why 
you should get that error on a console program run from the cmd prompt, 
I have no idea.


-- 
DaveA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

"python.exe has stopped working" when os.execl() runs on Windows 7 cormogram@gmail.com - 2013-04-27 17:22 -0700
  Re: "python.exe has stopped working" when os.execl() runs on Windows 7 Dave Angel <davea@davea.name> - 2013-04-27 20:55 -0400
    Re: "python.exe has stopped working" when os.execl() runs on Windows 7 cormogram@gmail.com - 2013-04-27 18:05 -0700
      Re: "python.exe has stopped working" when os.execl() runs on Windows 7 Dave Angel <davea@davea.name> - 2013-04-27 22:02 -0400
        Re: "python.exe has stopped working" when os.execl() runs on Windows 7 cormogram@gmail.com - 2013-04-27 20:42 -0700
          Re: "python.exe has stopped working" when os.execl() runs on Windows 7 Terry Jan Reedy <tjreedy@udel.edu> - 2013-04-28 03:51 -0400
            Re: "python.exe has stopped working" when os.execl() runs on Windows 7 cormogram@gmail.com - 2013-04-28 18:39 -0700
          Re: "python.exe has stopped working" when os.execl() runs on Windows 7 Fábio Santos <fabiosantosart@gmail.com> - 2013-04-28 09:02 +0100
            Re: "python.exe has stopped working" when os.execl() runs on Windows 7 cormogram@gmail.com - 2013-04-28 18:34 -0700
          Re: "python.exe has stopped working" when os.execl() runs on Windows 7 Fábio Santos <fabiosantosart@gmail.com> - 2013-04-28 09:05 +0100
            Re: "python.exe has stopped working" when os.execl() runs on Windows 7 cormogram@gmail.com - 2013-04-28 18:38 -0700
              Re: "python.exe has stopped working" when os.execl() runs on Windows 7 Fábio Santos <fabiosantosart@gmail.com> - 2013-05-01 22:00 +0100
                Re: "python.exe has stopped working" when os.execl() runs on Windows 7 Neil Cerutti <neilc@norwich.edu> - 2013-05-02 12:50 +0000
  Re: "python.exe has stopped working" when os.execl() runs on Windows 7 Nobody <nobody@nowhere.com> - 2013-04-28 04:53 +0100
    Re: "python.exe has stopped working" when os.execl() runs on Windows 7 cormogram@gmail.com - 2013-04-27 22:06 -0700

csiph-web