export@hope.cz (Lad) wrote in message news:<81a41dd.0 410202302.2e1d7 e71@posting.goo gle.com>...[color=blue]
> From running script I would like to start a new script in a new
> window.How can I do that from Python?
> Thanks for help
> LAD[/color]
Lad wrote:[color=blue]
> export@hope.cz (Lad) wrote in message news:<81a41dd.0 410202302.2e1d7 e71@posting.goo gle.com>...
>[color=green]
>>From running script I would like to start a new script in a new
>>window.How can I do that from Python?
>>Thanks for help
>>LAD[/color]
>
>
> Nobody knows???
> Lad[/color]
It is very unclear what you want to do? If you are on a Windows PC you could do this:
Jørgen Cederberg <jorgencederber g@hotmail.com> wrote in message news:<RB3ed.172 1$Hf.1410@news. get2net.dk>...[color=blue]
> Lad wrote:[color=green]
> > export@hope.cz (Lad) wrote in message news:<81a41dd.0 410202302.2e1d7 e71@posting.goo gle.com>...
> >[color=darkred]
> >>From running script I would like to start a new script in a new
> >>window.How can I do that from Python?
> >>Thanks for help
> >>LAD[/color]
> >
> >
> > Nobody knows???
> > Lad[/color]
>
> It is very unclear what you want to do? If you are on a Windows PC you could do this:
>[/color]
c[color=blue]
> Regards
> Jorgen[/color]
Dear Jorgen,
Thank you for the idea but it does not work without problems.
Your solution with os.system like
os.system('star t Script1.py')
os.system('star t Script2.py')
works( without problems) if I start the main script from console.
Os.system opens a new console window and starts a child script in each
console window.
But
if I start the main script from a browser, and that is what I want,
like http://myserver/cgi-bin/ParentScript.py
the ParentScript.py does not open a new WEB BROWSER window but starts
a new CONSOLE window.
But I would like to open each child script in a WEB BROWSER window
not in console window. How can I do that?
Thanks for help
Lad
Comment