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, 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
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to