Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Linville <[email protected]>
  • Loading branch information
g-linville committed Jul 2, 2024
1 parent 8c1f3c6 commit 260560d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions integration/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ import (
func GPTScriptExec(args ...string) (string, error) {
cmd := exec.Command("../bin/gptscript", args...)
if runtime.GOOS == "windows" {
out, _ := exec.Command("dir", "..\\bin").CombinedOutput()
println(string(out))
cmd = exec.Command("..\\bin\\gptscript", args...)
_ = exec.Command("rename", "..\\bin\\gptscript", "gptscript.exe").Run()
cmd = exec.Command("..\\bin\\gptscript.exe", args...)
}

out, err := cmd.CombinedOutput()
Expand Down

0 comments on commit 260560d

Please sign in to comment.