Executing a program
Eirik
hannibalkannibal at yahoo.no
Sat Jul 19 13:05:27 EDT 2003
Greetings!
How can I run a program from within Python?
I have tried the exec* family of functions, but I get these strange
errors, like this:
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 1300, in __call__
return apply(self.func, args)
File "./PPP", line 9, in run_app
os.execvp("home/eirik/ppp-skript", argument)
File "/usr/lib/python2.2/os.py", line 298, in execvp
_execvpe(file, args)
File "/usr/lib/python2.2/os.py", line 324, in _execvpe
apply(func, (file,) + argrest)
OSError: [Errno 2] No such file or directory
More information about the Python-list
mailing list