diff --git a/dist/index.js b/dist/index.js index 05c48ea..607930b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -468,11 +468,7 @@ class StackCLI { return stdout; } async exec(args, options) { - var cmd = ""; - if (process.platform === "win32") { - cmd += "cmd /c chcp 65001>nul && "; - } - return await exec.exec(`${cmd}stack`, this.globalArgs.concat(args), options); + return await exec.exec("bash", ["-c", "stack"].concat(this.globalArgs).concat(args), options); } } exports.StackCLI = StackCLI;