[lazarus] TProcess and Asyncio

Curtis White cwhite at aracnet.com
Tue Apr 18 01:47:26 EDT 2000

Where can I find the examples for these?  I found the test program for TProcess in
the fcl/tests directory, but I can't find the example for the asyncio class.


Michael Van Canneyt wrote:

> On Sun, 16 Apr 2000, Curtis White wrote:
> > I actually have some info on how to do this, including how to capture the
> > output. I will try to get the compiler working within the next couple days. I
> > already have the compiler options dialog created, so it just needs to put those
> > options together and send them to the compiler. I will see if I can get it
> > going.
> To keep things portable, have a look at the TProcess class in the FCL. This allows
> you to spawn the compiler, and capture it's output in streams. Using the asyncio
> unit you can make it as if it was a background process. There are example programs
> for both units.
> Both components are well-tested. TProcess is even used in commercial apps...
> Michael.

More information about the Lazarus mailing list