Running another python interpreter
sipickles at hotmail.com
Thu Oct 18 20:13:53 CEST 2007
Well, I tried:
os.spawnv(os.P_NOWAIT, "gateway.py", ())
OSError: [Errno 8] Exec format
Simon Pickles wrote:
> I have several servers which link to each other (and of course, to clients).
> At present, I am starting them in turn manually. Is there a way with
> python to say, "open gateway.py in a new interpreter window"?
> I looked at execv, etc, but they seem to replace the current process.
> Ah, maybe I need spawnv().
> I am on windows i386, python 2.5
More information about the Python-list