Hello
 
I cannot seem to spawn a subprocess. The subprocess does not seem to be run.
 
Attached are my two files. There is a main.py file and a subprocess.py file. They simpy print their names.
 
Can anyone suggest a reason?
 
Thank you

Frank Peacock
print("subprocess")
# Main script
import os

print("main")

os.spawnv(os.P_WAIT, 'c:\python21\\python.exe',('python.exe','c:\\do.py'))

print("exit")
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to