[Tutor] chain gangs of the mind...
Sean 'Shaleh' Perry
shalehperry at comcast.net
Sun Aug 17 20:13:44 EDT 2003
On Friday 15 August 2003 18:15, Kirk Bailey wrote:
> I want a script, at the end of execution, to launch another script. I don't
> care if this wipes the old one out of memory, namespace, whatever, it will
> no longer be needed. When the editor finishes provessing a page, I want it
> as a last act to launch the browser wiki script with the page name fed to
> it. Any ideas on how to effect this?
> --
just like you do in C, use one of the exec() family. In Python these are
found in the 'os' module.
You usually hear of people doing fork() before exec() because they want to run
a program AND keep the existing program running.
More information about the Tutor
mailing list