[python-win32] os.execv

Richard Cooper Richard.Cooper@youmeus.com
Wed, 10 Oct 2001 18:04:48 +0100


Is the a known issue with the os.execxxx function on win32? Because, I can't
get them to work.

This is my test.

1) Create a batch file called test.bat containing the single line:
echo hello

2) Running this from the command line works fine

3) Open python win and type
>>> import os
>>> os.execv(r"d:\test.bat",["foo"])

This kills the pythonwin process