On 20 April 2014 19:22, Slavko Kocjancic <[email protected]> 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 > Ie I like to close it if all thing is ok, but leave it opened if some error > ocours. > I tried to use VTE but is not practical for my need. > > (even closing console window at program end is better as I can wait keypres > on error in my program.) > > thanks > Slavko. > _______________________________________________ > Users mailing list > [email protected] > https://lists.geany.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] https://lists.geany.org/cgi-bin/mailman/listinfo/users
