[Geany-Users] Close console

James Brierley jmb8710 at xxxxx
Sun Apr 20 10:04:25 UTC 2014


On 20/04/14 10:22, Slavko Kocjancic wrote:
> Hello...
>
> How to close console window automaticaly (after run command) if
> errorcode is 0?

The way I do this is to add

&& killall whatever-terminal-program

to the end of the command. Of course, this isn’t a good idea if you have 
other terminals running in addition to those related to Geany...

You can search the web for 'bash &&' or something if you’re not sure why 
this works.

Take care,

James


More information about the Users mailing list