mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Use ELECTRON_RUN_AS_NODE Variable Key
- https://github.com/atom/electron/pull/3594
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user