[Geany-Users] Close console
elextr at xxxxx
Sun Apr 20 10:07:39 UTC 2014
On 20 April 2014 19:22, Slavko Kocjancic <eslavko at gmail.com> wrote:
> How to close console window automaticaly (after run command) if errorcode is
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
> 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.)
> Users mailing list
> Users at lists.geany.org
More information about the Users