Skip to content

Conversation

@koneu
Copy link

@koneu koneu commented Apr 2, 2025

fixes #716

i don't usually code in typeskript so i don't know how usefull this is.
also i could only test on a windows -> msys setup.

The fix is somewhat convoluted, since child_process.spawn does not appear to support specifying shell arguments.

i also didn't let 'cmd' / '/bin/bash' commands execute via the specified shell, because escaping the caracters correctly seems impossible; this affects the call from parser.ts

the setup also only works if gcc is in PATH, but that seems to be because c_cpp extension does not use the provided shell to lookup system path from the given compiler.

@koneu
Copy link
Author

koneu commented Apr 2, 2025

@microsoft-github-policy-service agree

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

automationProfile ignores args Parameter

1 participant