<p>Since the new spawn API, which is used by utils_spawn_sync() as well,<br>
passing a whole command line in argv[0] doesn't work any longer.<br>
So use the new spawn API directly which conveniently offers to<br>
pass the command either as command line or as argv.</p>

<p>Tested on Linux and Windows.<br>
I bumped the required API version. It seems unfortunately we didn't bump the API version in Geany when merging the spawn API but the currently used 226 is newer than the spawn API and is already available in the last Geany release, so it should be ok.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany-plugins/pull/372'>https://github.com/geany/geany-plugins/pull/372</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Use new spawn API to fix broken Win32 ctags.exe command execution</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/372/files#diff-0">geanyctags/src/geanyctags.c</a>
    (24)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany-plugins/pull/372.patch'>https://github.com/geany/geany-plugins/pull/372.patch</a></li>
  <li><a href='https://github.com/geany/geany-plugins/pull/372.diff'>https://github.com/geany/geany-plugins/pull/372.diff</a></li>
</ul>

<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-plugins/pull/372">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJwAOBicUD3hL6R_jZi2f6vdl-fXMks5pmkNMgaJpZM4HfINe.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-plugins/pull/372"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>