Am 20.04.2014 12:07, schrieb Lex Trotman:
On 20 April 2014 19:22, Slavko Kocjancic eslavko@gmail.com wrote:
Hello...
How to close console window automaticaly (after run command) if errorcode is 0?
There is no automatic way of closing the terminal because there is no way of knowing if a program outputs any messages of output to stdout or stderr that the user needs to read. The return code does not provide any indication of that.
Cheers Lex
There could be a setting for this. This is a major annoyance for a lot of people (while the other group depends on the current behavior).
Best regards.