In my DOS shell application I read in a commandline like "action > file.txt"
and use spawn to run the program "action" and pass the command line
arguments and environment to this program. Now it turns the system
interprets ">" and "file.txt" as command line arguments. But I want it to
mean re-map stdout and std::cout to the file "file.txt". How to do this?
Thanks in advance.

Siemel Naran