fix missing child_process silent option of Shard to allow listening to output (#4308)

This commit is contained in:
Jared Gesser
2020-08-11 23:01:19 +02:00
committed by GitHub
parent 49ad279c52
commit 58d1589a55

View File

@@ -115,6 +115,7 @@ class Shard extends EventEmitter {
.fork(path.resolve(this.manager.file), this.args, {
env: this.env,
execArgv: this.execArgv,
silent: true,
})
.on('message', this._handleMessage.bind(this))
.on('exit', this._exitListener);