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

2013-05-02 Thread Neil Cerutti
On 2013-05-01, F?bio Santos wrote: > Reproduced in Windows 7 Ultimate: > import os os.execl('ping.exe', '') > > At this point the REPL freezes, and windows prompts me to close Python > since it stopped responding. To repeat others and the documentation: In either case, the arguments

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

2013-05-01 Thread Fábio Santos
Reproduced in Windows 7 Ultimate: >>> import os >>> os.execl('ping.exe', '') At this point the REPL freezes, and windows prompts me to close Python since it stopped responding. -- Fábio Santos -- http://mail.python.org/mailman/listinfo/python-list

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

2013-04-28 Thread cormogram
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

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

2013-04-28 Thread cormogram
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

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

2013-04-28 Thread cormogram
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

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

2013-04-28 Thread Fábio Santos
Is this executable freely available, or something you can share? If you can send me that executable I can try to reproduce the bug with it. -- http://mail.python.org/mailman/listinfo/python-list

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

2013-04-28 Thread Fábio Santos
Cannot reproduce on windows 7 ultimate Steps taken: Start cmd cd to Desktop where I have a GUI application run python on the console import os os.execl('exe.exe', 'exe.exe') On Sun, Apr 28, 2013 at 8:51 AM, Terry Jan Reedy wrote: > On 4/27/2013 11:42 PM, cormog...@gmail.com wrote: > >> Is th

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

2013-04-28 Thread Terry Jan Reedy
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

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

2013-04-27 Thread cormogram
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 os.execl() and got a "python.exe h

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

2013-04-27 Thread Nobody
On Sat, 27 Apr 2013 17:22:31 -0700, cormogram wrote: > 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','') Note that, by

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

2013-04-27 Thread cormogram
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

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

2013-04-27 Thread Dave Angel
On 04/27/2013 09:05 PM, cormog...@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, righ

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

2013-04-27 Thread cormogram
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

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

2013-04-27 Thread Dave Angel
On 04/27/2013 08:22 PM, cormog...@gmail.com wrote: 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.or

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

2013-04-27 Thread cormogram
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