You could have the program read from standard input and write to standard output. Even Windows can do that, can't it?