<p></p>
<p>TL;DR Summary</p>
<p>The OP prefers lxterminal which is a multi-tabbed application where the second and subsequent invocations open a tab in the original process and exit, exactly as Geany itself does.</p>
<p>This has two side effects when lxterminal is used as the Geany execute terminal,</p>
<ol>
<li>
<p>the second and subsequent invocations exit immediately, causing the Geany execute state to reset and another execution to be possible, the OP prefers this behaviour, and</p>
</li>
<li>
<p>if Geany happens to cause the first invocation of lxterminal the execute state will not reset as the lxterminal process does not exit, and if the execute command is used to terminate the process, all the tabs in that process terminate, no matter how they were invoked.  The OP does not like this behaviour.</p>
</li>
</ol>
<p>A workaround is to open lxterminal prior to starting Geany, so no Geany invocation is the first lxterminal.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2708#issuecomment-751570912">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3XNBJ4OETO34JJZKDSXAC6DANCNFSM4VLM2KQQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ2VFVPIBB543PPADMLSXAC6DA5CNFSM4VLM2KQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFTGA7YA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2708#issuecomment-751570912",
"url": "https://github.com/geany/geany/issues/2708#issuecomment-751570912",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>