the pipe (|) and redirect (>) are shell command tokens (bash, etc). you can either create a shell script and execute or implement in you program.
you implement pipe, by forking, redirect stdout to stdin, and then exec the new program. Windows does not really have this model, so process doesnt really have it. you will need to use streams
process start cat redirecting output to a stream
process start toolName redirect input to the the stream. from above.
write the output of toolName output to the desired text file.
note: while Ive written my own unix shell programs in the past, I used c. here is a simple explanation of how shells work: