Portable Process Control (2 of 3)
os.execv family
Doesn’t search system path, and doesn’t parse command lines
os.execv("c:\\Winnt\\notepad.exe", \
("c:\\autoexec.bat",) )
Does clobber your existing process - the call to os.execv() never returns!
Previous slide
Next slide
Back to first slide
View graphic version