ElmerGUI and console output in Windows

The graphical user interface of Elmer
Post Reply
Rich_B
Posts: 53
Joined: 24 Aug 2009, 20:18

ElmerGUI and console output in Windows

Post by Rich_B »

When ElmerGUI is run from a terminal in Ubuntu, the program outputs progress and error messages to the console. When ElmerGUI is run from a shortcut or from command line in Windows, there isn't any output to the console. I came across this post describing how to add console output to a Qt GUI program https://stackoverflow.com/questions/336 ... qt-gui-app and was wondering if this functionality could be added? This would be very nice, particularly if the calls to Elmergrid from within ElmerGUI printed status messages and messages about any errors.

Thanks, Rich.
Rich_B
Posts: 53
Joined: 24 Aug 2009, 20:18

Re: ElmerGUI and console output in Windows

Post by Rich_B »

So I tried one of the many things in that stackoverflow link, and it worked nicely.

Open a command prompt and enter this:

Code: Select all

powershell "elmergui | tee output.txt"
You will see the loading steps output from ElmerGUI, plus the output will be logged into the text file 'output.txt'.

Rich.
Post Reply