[v10.x] src: allows escaping NODE_OPTIONS with backslashes by rickyes · Pull Request #35342 · nodejs/node

and others added 2 commits

September 25, 2020 20:51
The characters specified within NODE_OPTIONS can now be escaped, which
is handy especially in conjunction with `--require` (where the file path
might happen to contain spaces that shouldn't cause the option to be
split into two).

Fixes: nodejs#12971

PR-URL: nodejs#24065
Reviewed-By: Anna Henningsen <anna@addaleax.net>

richardlau

richardlau pushed a commit that referenced this pull request

Oct 7, 2020
The characters specified within NODE_OPTIONS can now be escaped, which
is handy especially in conjunction with `--require` (where the file path
might happen to contain spaces that shouldn't cause the option to be
split into two).

Fixes: #12971

PR-URL: #24065
Backport-PR-URL: #35342
Reviewed-By: Anna Henningsen <anna@addaleax.net>

Refs: microsoft/vscode-js-debug#769

@rickyes rickyes deleted the backport-24065-to-v10.x branch

October 10, 2020 04:09