We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c1f3c6 commit 260560dCopy full SHA for 260560d
integration/helpers.go
@@ -8,9 +8,8 @@ import (
8
func GPTScriptExec(args ...string) (string, error) {
9
cmd := exec.Command("../bin/gptscript", args...)
10
if runtime.GOOS == "windows" {
11
- out, _ := exec.Command("dir", "..\\bin").CombinedOutput()
12
- println(string(out))
13
- cmd = exec.Command("..\\bin\\gptscript", args...)
+ _ = exec.Command("rename", "..\\bin\\gptscript", "gptscript.exe").Run()
+ cmd = exec.Command("..\\bin\\gptscript.exe", args...)
14
}
15
16
out, err := cmd.CombinedOutput()
0 commit comments