On 18 oct, 16:55, Sushant <[EMAIL PROTECTED]> wrote:

> Does gateway.py has the python interpreter in the top (i.e.,
> #!/usr/local/bin/python)

The OP said he's on Windows so that doesn't matter.

> On Thursday 18 October 2007 2:13 pm, Simon Pickles wrote:
>
> >     os.spawnv(os.P_NOWAIT, "gateway.py", ())

Try with:

os.spawnl(os.P_NOWAIT, sys.executable, sys.executable, "gateway.py")

or use the subprocess module.

--
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to