open CMD, "| /usr/bin/whatever |"; [download]
In reply to How to print to STDIN of a cmd and read it's STDOUT by mhearse