JSII crashes if a " " is present in the JsiiRuntimePath path #1296
Labels
bug
This issue is a bug.
closed-for-staleness
effort/small
Small work item – less than a day of effort
language/dotnet
Related to .NET bindings (C#, F#, ...)
p1
🐛 Bug Report
Affected Languages
TypeScript
orJavascript
Python
Java
C#
,F#
, ...)General Information
What is the problem?
This issue was discovered trying to use the CDK, however I believe it is ultimately in JSII. As stated above, I'm running the .NET Core 3 version on Windows 10. My Windows login is my full name, Greg Smith. The issue is that my temp dir path is
C:\Users\Greg Smith\AppData\Local\Temp
and when the node process is run with the JSII package, node will crash withI was able to trace the issue down to the
ProcessStartInfo
object. The arguments simply attach the JsiiRuntimePth from the provider and spaces are interpreted as a new argument by node, equivelant to the following:However, wrapping with quotes yeilds:
Verbose Log
gist of log
The text was updated successfully, but these errors were encountered: