You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
End of CLI options -- is now part of process.execArgv (regression in Node 10.10) #24647
The double dash indicating the end of the exec args is now part of process.execArgv while it previously was neither in process.execArgv nor process.argv. This prevents from safely spawning a Node process while escaping the main module name. The following pattern to respawn itself no longer works:
Activity
targos commentedon Nov 25, 2018
/cc @addaleax
Fix tests following change in Node's CLI parser
cli: fix omitting `--` from `process.execArgv`
process: fix omitting `--` from `process.execArgv`
Trott commentedon Nov 29, 2018
Fixed in 83d6cb9
process: fix omitting `--` from `process.execArgv`
process: fix omitting `--` from `process.execArgv`
process: fix omitting `--` from `process.execArgv`
process: fix omitting `--` from `process.execArgv`
process: fix omitting `--` from `process.execArgv`
Fix tests following change in Node's CLI parser
Fix tests following change in Node's CLI parser
Fix tests following change in Node's CLI parser
Fix tests following change in Node's CLI parser
Fix tests following change in Node's CLI parser
Fix tests following change in Node's CLI parser
Fix tests following change in Node's CLI parser
Fix tests following change in Node's CLI parser
Fix tests following change in Node's CLI parser
Fix tests following change in Node's CLI parser