En Sat, 20 Oct 2007 06:12:23 -0300, Simon Pickles <[EMAIL PROTECTED]>
escribi�:
> This is very nearly perfect. I have a second console window.
> Unfortunately, the first is waiting for the second to close. Is there
> anyway to specify the equivalent of os.P_NOWAIT?
Use the more generic version:
This is very nearly perfect. I have a second console window.
Unfortunately, the first is waiting for the second to close. Is there
anyway to specify the equivalent of os.P_NOWAIT?
Gabriel Genellina wrote:
> --- Simon Pickles <[EMAIL PROTECTED]> escribió:
>
>
>> os.spawnl(os.P_NOWAIT, sys.exec
--- Simon Pickles <[EMAIL PROTECTED]> escribió:
> os.spawnl(os.P_NOWAIT, sys.executable,
> sys.executable, "gateway.py")
>... works but both process output to the same
> interpreter window. Is there a way to run another
> interpreter window containing gateway.py?
Use the subprocess module, passi
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
Does gateway.py has the python interpreter in the top (i.e.,
#!/usr/local/bin/python)
-Sushant.
On Thursday 18 October 2007 2:13 pm, Simon Pickles wrote:
> Well, I tried:
>
> os.spawnv(os.P_NOWAIT, "gateway.py", ())
>
> and got:
>
> OSError: [Errno 8] Exec format
>
> Simon Pickles wrote:
Well, I tried:
os.spawnv(os.P_NOWAIT, "gateway.py", ())
and got:
OSError: [Errno 8] Exec format
Simon Pickles wrote:
> Hello,
>
> 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
>
Hello,
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