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

Remove unnecessary use of shell-quote-argument #51

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

akirak
Copy link
Contributor

@akirak akirak commented Sep 19, 2024

Hello,

You don't have to shell-quote-argument the executable name when you pass it to call-process. Actually, it doesn't work on Windows where actual executable files are suffixed with .exe. It's better to pass the name without quoting, so call-process can find it from exec-path.

Copy link
Owner

@andorsk andorsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! Thank you for the contribution!

@andorsk andorsk merged commit 872a0d7 into andorsk:main Nov 7, 2024
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.

2 participants