New Book?

Curtis Yanko cmyanko at bigfoot.com
Fri May 21 08:55:34 EDT 1999


New book! ooh... ooh... Tell me more!

In article <7i25as$c5u$1 at m2.c2.telstra-mm.net.au>,
  "Mark Hammond" <MHammond at skippinet.com.au> wrote:
> A little painful, but you probably need to go native:
>
> win32process.CreateProcess starts a new program, and returns a process
> handle for the new process.  To wait for completion, you can use
> win32event.WaitForSingleObject()
>
> It is a little painful - mail me for more help (or wait a few months,
as
> this is covered in detail in our new book :-)
>
> [Alternatively, try experimenting with os.system("start /B cmd") etc]
>
> Mark.
>
> Paul Prescod wrote in message <374474E5.855E25F at prescod.net>...
> >I need to run a command line app from a Windows program.
> >I need the command line app to come up hidden or at least in a
minimized
> >window (so I don't think that I can use os.system).
> >I need my program to block until it is done (so I don't think that I
can
> >use ShellExecute or WinExec)
> >
> >I've got some gross options that involve polling etc. Anybody know
> >anything better? Thanks,
> >--
> > Paul Prescod  - ISOGEN Consulting Engineer speaking for only himself
> > http://itrc.uwaterloo.ca/~papresco
> >
> >"It's only a movie. People should get a life."
> > - George Lucas (http://www.nypost.com/news/9025.htm)
>
>


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---




More information about the Python-list mailing list