Merge pull request #10511 from atom/jf-use-electron-run-as-node-key

Use ELECTRON_RUN_AS_NODE Variable Key
This commit is contained in:
Nathan Sobo
2016-03-04 14:03:10 -07:00

View File

@@ -46,7 +46,7 @@ class BufferedNodeProcess extends BufferedProcess
options ?= {}
options.env ?= Object.create(process.env)
options.env['ATOM_SHELL_INTERNAL_RUN_AS_NODE'] = 1
options.env['ELECTRON_RUN_AS_NODE'] = 1
args = args?.slice() ? []
args.unshift(command)