On 04/20/2014 12:11 PM, James Brierley wrote:
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
In one word: "Perfect!" Thanks.