[Geany-Users] Close console

Lex Trotman elextr at xxxxx
Sun Apr 20 10:07:39 UTC 2014

On 20 April 2014 19:22, Slavko Kocjancic <eslavko at 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.


> 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
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users

More information about the Users mailing list