Skip to content

Windows Only: When call spawnSyc with shell=true, enclosing by double… #288

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

Merged
merged 1 commit into from
Nov 29, 2018

Conversation

dschep
Copy link
Contributor

@dschep dschep commented Nov 22, 2018

…-quate -v option.

Remove enclosing by double-quate at dockerPathForWin on Windows platform.
It's caused bad effect on spawnSync without shell=true or windowsVerbatimArguments=true.

closes #274
closes #281

…-quate -v option.

Remove enclosing by double-quate at dockerPathForWin on Windows platform.
It's caused bad effect on spawnSync without shell=true or windowsVerbatimArguments=true.
@dschep
Copy link
Contributor Author

dschep commented Nov 22, 2018

Created a PR for this as I think I prefer it over #281. I assume you do to, @kichik, yes?

@@ -18,6 +18,13 @@ function quote_single(quoteme) {
return quote([quoteme]);
}

function quoteFroWin(quoteme) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
function quoteFroWin(quoteme) {
function quoteForWin(quoteme) {

@kichik
Copy link
Contributor

kichik commented Nov 22, 2018

Yeah, that seems like a cleaner workaround.

@dschep dschep merged commit 9934bf7 into serverless:master Nov 29, 2018
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.

Invalid Mode /test when deploying using 4.2.5
3 participants