From 2ffbe5e0d613bc577e23373664b1ba215b3b4890 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 15 Sep 2020 15:25:09 -0400 Subject: [PATCH] Fix --- commands/util/exec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/util/exec.js b/commands/util/exec.js index eccd3d3b..d2da01a0 100644 --- a/commands/util/exec.js +++ b/commands/util/exec.js @@ -34,7 +34,7 @@ module.exports = class ExecCommand extends Command { exec(command) { try { - const stdout = execSync(command, { timeout: 30000 }); + const stdout = execSync(command, { timeout: 30000, encoding: 'utf8' }); return { err: false, std: stdout.trim() }; } catch (err) { return { err: true, std: err.stderr.trim() };