Re: Using the Windows threads and processes functions

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Wed, 14 Jul 2004 07:34:45 -0700, Jonas Temple
<guest at RapidEuphoria.com> wrote:

>All,
>
>Back in my Borland C++/OWL days I wrote a program that started up a process
>and would wait until the process completed before the "parent" program
>would continue.  I know this question has come up before about using
>shellExecute() to start a process and wait until it completes before 
>continuing (which you can't do).

I have just submitted a short routine originally by Juergen Luethje
which may be of interest, maybe not. It loops, sleeping for 1/25th of
a second, waiting for the child process to complete, and invokes
doEvents() if win32lib is in use (but does NOT require win32lib to be
present). It has proved handy for me, though one limitation I know is
you cannot redirect output:

http://palacebuilders.pwp.blueyonder.co.uk/euphoria.html#syswait

(nothing specifically to do with "threads", btw)

Regards,
Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu