<p>I agree that <code>send_cmd_prefix</code> would be the right way to do this, but Geany strips any leading whitespace from the value when exiting (trailing whitespace is preserved) and prevents what I'm trying to achieve.<br>
<code>send_cmd_prefix= ␣ls␣&&␣␣</code> (or any number of leading/trailing whitespaces) turns to<br>
<code>send_cmd_prefix=ls␣&&␣␣</code></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/650#issuecomment-140027000">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ6hzVWFFVQeznACbdePyefd_dyEOks5oxpP6gaJpZM4F6qLj.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/650#issuecomment-140027000"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>