-
Notifications
You must be signed in to change notification settings - Fork 245
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
Newlines in arguments passed to node -e ...
#1791
Comments
Ah, thanks for the report! That is indeed quirky, and we should make sure we pass that through cleanly! |
I am not much of a Windows user, from what I remember, I was able to reproduce this on a Windows (11 I think?) VM in Azure, not using WSL, no special config on the VM. We had at least 2 Pulumi users report an issue, where we narrowed down the root cause to this issue. I don't know how the Volta shims work, but I guess when running under WSL it's doing an |
Thanks for the reports, and the environment investigation! I suspect this might be related to the fact that we use |
Didn't get to investigating that weekend 😅 However just now I did confirm, and from some digging online, I think this might be a hard limitation of However, as mentioned in my most recent comment on #1761, that PR may provide a path forward to removing that use of |
We ran into an issue when calling
node -e ...
with a script that contains new lines. pulumi/pulumi#16649Repro:
main.go:
Run with:
When I have the Volta shim node.exe in the path, I get an error:
With the actual node.exe on path, it works:
The text was updated successfully, but these errors were encountered: