How to call another file

Peter Hansen peter at engcorp.com
Mon May 20 12:47:03 EDT 2002


Kragen Sitaker wrote:
> 
> "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 :)

Oh, it _is_ ... just not in this one particular respect.  :)

-Peter



More information about the Python-list mailing list