How to call another file

Kragen Sitaker kragen at pobox.com
Mon May 20 05:47:51 EDT 2002


"Thomas Heller" <theller at python.net> writes:
> "Kragen Sitaker" <kragen at pobox.com> wrote in message news:83vg9mu0fn.fsf at panacea.canonical.org...
> > I thought about "start"; unfortunately, it runs stuff in the
> > background and returns immediately, which is not what the OP wanted.
> >
> That's where the /WAIT switch is for, available on win2k at least:
> 
> os.system("start /WAIT mypage.html")

Thanks for the correction!  I'm glad there was a simple answer to the
question, and that Windows is not as inferior as I thought :)




More information about the Python-list mailing list