As I understand it, you are looking for an application you can pipe to which simply passes anything piped to it through to stdout.
I believe foo.exe | more
will serve your purpose on Windows.
Note: more
does have the side effect of paging the output, so if you need to test longer outputs you could write a simple application which does the redirection.
Edit: You can write a simple batch file to redirect stdin to stdout and pipe to that.
From jeb's answer here:
@echo off
setlocal DisableDelayedExpansion
for /F "tokens=*" %%a in ('findstr /n $') do (
set "line=%%a"
setlocal EnableDelayedExpansion
set "line=!line:*:=!"
echo(!line!
endlocal
)
Save this as redir.bat and use like so foo.exe | redir.bat
. Tested on Win7. Compatible with default Windows install. Only downside is it's not an easy one-liner to remember.
I would use more
for simple cases, and fall back on this for longer outputs.