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

binstubs: do not exec via the shell, but rather execute the programs directly #355

Merged
merged 1 commit into from
May 10, 2017

Conversation

fsateler
Copy link
Contributor

@fsateler fsateler commented May 9, 2017

Windows cmd does not support the ENVVAR=VALUE syntax prepended to a command, so the binstubs did not work
there. To avoid that, use the exec form that does not go via the shell, and instead executes the program directly.

Fixes: #245

--

It appears the testsuite does not test these binstubs, and I don't know how to generate the resulting file to execute....

…directly

Windows cmd does not support the ENVVAR=VALUE syntax prepended to a command, so the binstubs did not work
there. To avoid that, use the exec form that does not go via the shell, and instead executes the program directly.

Fixes: rails#245
@gauravtiwari gauravtiwari merged commit 14d2691 into rails:master May 10, 2017
@gauravtiwari
Copy link
Member

gauravtiwari commented May 10, 2017

Looks good to me. Thanks 👍

@fsateler fsateler deleted the windows branch February 17, 2020 22:17
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