mirror of
https://github.com/danbulant/discord.js
synced 2026-06-10 02:02:40 +00:00
fix missing child_process silent option of Shard to allow listening to output (#4308)
This commit is contained in:
parent
49ad279c52
commit
58d1589a55
1 changed files with 1 additions and 0 deletions
|
|
@ -115,6 +115,7 @@ class Shard extends EventEmitter {
|
||||||
.fork(path.resolve(this.manager.file), this.args, {
|
.fork(path.resolve(this.manager.file), this.args, {
|
||||||
env: this.env,
|
env: this.env,
|
||||||
execArgv: this.execArgv,
|
execArgv: this.execArgv,
|
||||||
|
silent: true,
|
||||||
})
|
})
|
||||||
.on('message', this._handleMessage.bind(this))
|
.on('message', this._handleMessage.bind(this))
|
||||||
.on('exit', this._exitListener);
|
.on('exit', this._exitListener);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue