[Geany-Users] Close console
James Brierley
jmb8710 at xxxxx
Sun Apr 20 10:11:49 UTC 2014
On 20/04/14 11:04, James Brierley wrote:
> 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...
Actually, now my brain is waking up, I remember changing it for that reason.
$COMMAND && exit
will close only 'that' terminal.
James
More information about the Users
mailing list