Do you get to specify the name of the output file? Either through a configuration file or the command line?
If so, you might be able to specify the name of the terminal device, con under WIn32 or /dev/tty? under *nix and that should give you what you want.
In reply to Re: Redirect file write from external program to STDOUT
by BrowserUk
in thread Redirect file write from external program to STDOUT
by chunlou
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |