<blockquote>
<p>[…] "Background" means 2 things: don't block the shell […]</p>

<p>Yes, I could use ps to check if geany is running and if not, call <code>geany filename &</code> […]</p>
</blockquote>

<p>Why can't you do just that in all cases?  I see no reason why it wouldn't work if Geany is already running too.  At worse, use <code>nohup</code> if you need.<br>
Going in the background, as in detaching from the parent process is annoying.  It's not strictly speaking hard, but it requires some special work, and <code>fork()</code> has some annoying properties -- maybe we wouldn't care at this point, not sure.<br>
Also, I fail to see the real use case here, until I see <code>&</code> at the shell level doesn't work for soem (bad) reasons.  So for this part, I'd rather say "no".</p>

<blockquote>
<p>[…]</p>

<p>When the script finishes, it will call geany without the --background option and the final report as filename, then geany will pop up to notify me about the end f the script.</p>

<p>[…]</p>

<p>BTW: sending the reports per mail is not an optoin, because I want to keep the files in the end. Having them via mail would require additional steps (save them, open them for editing).</p>
</blockquote>

<p>Hum, couldn't you simply save the files in a log directory, and open them manually/at the end?</p>

<p>I'm not strictly speaking against an option disabling window presentation/tab switching (although that later one might require a special handling), but I kinda fail to see the point, and the use case seem very specific and unusual.  But well, I guess we'd accept a nice implementation of this part, esp. if we get convinced it's indeed really necessary for some legitimate used cases.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/907#issuecomment-185760964">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJwMFVR_FivUTbV0gxqDrLYSBS-Tiks5pldXhgaJpZM4HdHwq.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/907#issuecomment-185760964"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>