mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Add ELECTRON_NO_ATTACH_CONSOLE in BufferedNodeProcess
(cherry picked from commit 5f0ad9e015
)
This commit is contained in:
parent
e230841b57
commit
c95412b451
@ -47,6 +47,7 @@ class BufferedNodeProcess extends BufferedProcess
|
||||
options ?= {}
|
||||
options.env ?= Object.create(process.env)
|
||||
options.env['ELECTRON_RUN_AS_NODE'] = 1
|
||||
options.env['ELECTRON_NO_ATTACH_CONSOLE'] = 1
|
||||
|
||||
args = args?.slice() ? []
|
||||
args.unshift(command)
|
||||
|
Loading…
Reference in New Issue
Block a user