Start two processes and connect them with a pipe in Delphi
Posted
by Steve
on Stack Overflow
See other posts from Stack Overflow
or by Steve
Published on 2010-06-02T12:09:12Z
Indexed on
2010/06/02
12:14 UTC
Read the original article
Hit count: 183
I need to launch two external programs in my program and connect the STDOUT of the first one to the STDIN of the second program. How can you achieve this in Delphi (RAD Studio 2009, if it matters)? I'm operating in Windows environment.
As a commandline command my situation would look something like this:
dumpdata.exe | encrypt.exe "mydata.dat"
© Stack Overflow or respective owner