Problem using execvp
faucheuse
faucheuses at gmail.com
Thu Oct 27 04:57:55 EDT 2011
Hi,
I'm trying to launch my python program with another process name than
"python.exe".
In order to do that I'm trying to use the os.execvp function :
os.execvp("./Launch.py", ["ProcessName"])
Launch.py is the file that Launch the program and ProcessName is
the ... Process Name ^^
I get this error : OSError : [Errno 8] Exec format error.
I searched and found many solutions like : os.execvp("./Launch.py",
["./Launch.py","ProcessName"]), but nothing worked so far.
Can you help me plz ?
More information about the Python-list
mailing list