mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
fix missing child_process silent option of Shard to allow listening to output (#4308)
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user