<p>In <a href="https://github.com/geany/geany/pull/701#discussion_r43529283">src/callbacks.c</a>:</p>
<pre style='color:#555'>>              {
> -                  ui_set_statusbar(TRUE, "Context action command failed: %s", error->message);
> +                  ui_set_statusbar(TRUE, format, command, error->message);
</pre>
<p>Actually, it occurred to me a few days ago that not caring about %s is wrong, but I was  too busy setting up my new computer...</p>

<p>A %s with a selection containing any quotes may break the command parsing under *unix. Thus we'd better display the short version on G_SPAWN_ERROR, and the long version on G_SHELL_ERROR (== parse error). Of course, it may break the spawning too, if %s is at the start of the command, but that's a bit extreme.</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/pull/701/files#r43529283">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJzAXllKVIXpAa5u1fNwA_qwEBbuzks5pA6BKgaJpZM4GRgsl.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/pull/701/files#r43529283"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>