Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new spawn API to fix broken Win32 ctags.exe command execution #372

Merged
merged 1 commit into from
Mar 6, 2016

Conversation

eht16
Copy link
Member

@eht16 eht16 commented Feb 21, 2016

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

Tested on Linux and Windows.
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.

Since the new spawn API, which is used by utils_spawn_sync() as well,
passing a whole command line in argv[0] doesn't work any longer.
So use the new spawn API directly which conveniently offers to
pass the command either as command line or as argv.
@eht16 eht16 added the Windows label Mar 6, 2016
@eht16 eht16 assigned eht16 and techee and unassigned eht16 Mar 6, 2016
@techee techee merged commit c60667d into geany:master Mar 6, 2016
@techee
Copy link
Member

techee commented Mar 6, 2016

@eht16 Ah, missed this one. Works fine on linux and I trust you on Windows :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants