Closed
Description
- Version: v8.0.0 nightly 2017 05 07
- Platform: Windows 7 x64
- Subsystem: cli
Refs: #12028
test.js
:
'use strict';
console.log('B');
module.js
:
console.log('A');
"mo dule.js"
:
console.log('A');
Compare:
> node -r ./module.js test.js
A
B
> set NODE_OPTIONS=-r ./module.js
> set NODE_OPTIONS
NODE_OPTIONS=-r ./module.js
> node test.js
A
B
> node -r "./mo dule.js" test.js
A
B
> set NODE_OPTIONS=-r "./mo dule.js"
> set NODE_OPTIONS
NODE_OPTIONS=-r "./mo dule.js"
> node test.js
node: dule.js" is not supported in NODE_OPTIONS