Was trying os.execl() and got a "python.exe has stopped working" on my Windows
7 Ultimate SP1 x64 desktop.
I'm using Python 2.7.4 and that happens when the second arg is ''. For example:
os.execl('filename.exe','')
Wtf? :(
http://postimg.org/image/vdliyuenh/
--
http://mail.python.org/mailman
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?
On Saturday, April 27, 2013 9:55:34 PM UTC-3, Dav
Probably a bug I suppose. :(
I've used subprocess before and it works fine. I was just learning about the os
module. os.execl() works if you provide no nulls, for example:
os.execl('c:\\bin\\filename.exe','filename.exe','arg1')
Is there the place to open a ticket for Python developers? Who keep
I did that but unfortunately the 'bug' persists. :(
I've chosen the os module because I though it would be more portable. :/
On Sunday, April 28, 2013 12:53:25 AM UTC-3, Nobody wrote:
> On Sat, 27 Apr 2013 17:22:31 -0700, cormogram wrote:
>
>
>
> > Was trying
It works fine as long as you don't provide a null string ('') to os.execl(),
such as:
os.execl('filename.exe','')
On Sunday, April 28, 2013 5:02:48 AM UTC-3, Fábio Santos wrote:
> Cannot reproduce on windows 7 ultimate
>
>
>
> Steps taken:
>
>
>
> Start cmd
>
> cd to Desktop where I have
Thank you!
On Sunday, April 28, 2013 4:51:03 AM UTC-3, Terry Jan Reedy wrote:
> On 4/27/2013 11:42 PM, cormog...@gmail.com wrote:
>
>
>
> > Is there the place to open a ticket for Python developers?
>
>
>
> bugs.python.org
--
http://mail.python.org/mailman/listinfo/python-list
It isn't, but it doesn't matter because all executables I've tried cause the
error, even "ping.exe". Just try:
os.execl('ping.exe', '')
And it will cause the "python.exe has stopped working" error message.
On Sunday, April 28, 2013 5:05:02 AM UTC-3, Fábio Santos wrote:
> Is this executable free