Start two processes and connect them with a pipe in Delphi
- by Steve
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"