The above accepts input from keyboard, make cmd.exe act on it and also print and append output to tee.txt.tee |cmd.exe |tee -a tee.txt
In reply to Re^4: Both print and redirect STDOUT and STDERR
by chessgui
in thread Both print and redirect STDOUT and STDERR
by chessgui
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |