Re: Running programs in the background?
- From: Volker Hetzer <firstname.lastname@xxxxxxxx>
- Date: Wed, 23 Aug 2006 18:18:39 +0200
Michael Schlenker schrieb:
Volker Hetzer schrieb:So I open a pipe, process file events until I get an EOF,Hi!
On Windows (XP) I'd like to run two programs (cmd /c ...) in parallel
and then wait for both of them to complete.
How would I go about it?
Either use twapi to wait for some pid, or simply use the open | syntax
instead of exec and run those programs in pipes with fileevent.
The fileevent man page has an example:
http://wiki.tcl.tk/fileevent
increment some variable and vwait in a loop until that variable is 2?
Sounds good to me.
Thanks a lot!
Volker
--
For email replies, please substitute the obvious.
.
- References:
- Running programs in the background?
- From: Volker Hetzer
- Re: Running programs in the background?
- From: Michael Schlenker
- Running programs in the background?
- Prev by Date: Re: Using grid within a Tile labelframe
- Next by Date: Re: Check if a connection to the internet exists
- Previous by thread: Re: Running programs in the background?
- Next by thread: Re: Running programs in the background?
- Index(es):
Relevant Pages
|