I am using an open source application (conkeror) which is configured via a file containing javascript. Any issues with the javascript is printed to the console. This is fine under Linux as all the information is shown as long as the it is started from a shell. However, under Windows none of the information is show even when started from a shell. Is there a way to make this information displayed in the shell or to capture it in say a file?
2 Answers
Usually when using a command prompt in Windows, one can redirect output to a file by using ">" for example:
dir > mylist.txt
Would save the output from the dir command to a file named mylist.txt.
So if your executable is named conkeror.exe, try executing it as follows:
conkeror.exe > output.txt
I did a quick install of Conkeror, but I'm not sure what kind of output you are anticipating, and so I only ended up with a zero-length file.
-
1Shell redirection doesn't work for "window" applications (Windows makes a distinction between console and window applications). I'm looking for a work around that will capture the contents of stdout/stderr even though it's a "window" application. Dec 14, 2009 at 1:10
-
DebugView will let you monitor the messages in question, even from a windowed app.
-
DebugView does not seem to support capturing stdout or stderr, only specific debug API messages. Dec 24, 2014 at 23:22