Re: Problem using execvp

2011-10-27 Thread Nobody
On Thu, 27 Oct 2011 01:57:55 -0700, faucheuse wrote: > I get this error : OSError : [Errno 8] Exec format error. The most likely reason for this error is a missing or invalid shebang, e.g.: #!/usr/bin/python or: #!/usr/bin/env python The "#!" must be the first two bytes in the f

Re: Problem using execvp

2011-10-27 Thread James Housden
On Oct 27, 11:27 am, Hans Mulder wrote: > On 27/10/11 10:57:55, faucheuse wrote: > > > I'm trying to launch my python program with another process name than > > "python.exe". > > Which version of Python are you using? > Which version of which operating system? > > > In order to do that I'm trying

Re: Problem using execvp

2011-10-27 Thread Hans Mulder
On 27/10/11 10:57:55, faucheuse wrote: I'm trying to launch my python program with another process name than "python.exe". Which version of Python are you using? Which version of which operating system? In order to do that I'm trying to use the os.execvp function : os.execvp("./Launch.py", [