KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I tried to run the following command in Windows command prompt. abc.exe >log.txt 2>&1 I'm expecting all output from abc.exe to be directed to log.txt , but it doesn't work, as the log.txt is empty. However, if I just execute abc.exe , the output is showing up in Windows command prompt. I'm not sure what is the output handler used by this application (STDOUT or STDERR), but I'm wondering is there a way to capture all messages regardless of the handler.
Tags (comma-separated)
Save Edits
Cancel