Commit c82b43d
fix: node executables not running on windows if bash toolchain path (#1104)
contains whitespace.
The windows launcher code does currently break if the path to the bash
binary contains a whitespace.
This is common on windows where programs are stored under
`C:\Program Files`.
e.g.
```
:run
C:/Program Files/msys2/usr/bin/bash.exe -c "!run_script!"
```
The path needs to be quoted so that it won't be incorrectly picked up as
two separate commands. Resulting in an
exception like:
```
'C:/Program' is not recognized as an internal or external command,
operable program or batch file.
```1 parent 5e98bda commit c82b43d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
0 commit comments