Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums"realtime" console update?
https://www.eclipse.org/forums/index.php/mv/msg/326467/840808/#msg_840808
I use moai, and i run it with a run.bat file as external configuration.
The settings are:
location: {workspace_loc:/run.bat}
working directory: {workspace_loc:/}
This is working fine, and when i do print("bla") in lua, it prints me "bla" into the console.
But the worse thing is that it looks like the console is only updated after the lua programm ends.
When i start the run.bat manually from explorer then i can see the prints and error messages in "realtime", why is this not working in the console?
i hoped console is just anyhow replacing the cmd window or something
]]>annika Ryll2012-04-10T14:33:42-00:00Re: "realtime" console update?
https://www.eclipse.org/forums/index.php/mv/msg/326467/841603/#msg_841603
This is because the stdout buffer is not flushed on each print.
To fix that, without modification of your code, you should execute this line in your run.bat