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 4bc5ee4 commit 66b462f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion integration/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import (
func GPTScriptExec(args ...string) (string, error) {
cmd := exec.Command("../bin/gptscript", args...)
if runtime.GOOS == "windows" {
_ = exec.Command("dir", "..").Run()
out, _ := exec.Command("dir", "..").CombinedOutput()
println(out)
cmd = exec.Command("..\\bin\\gptscript.exe", args...)
}

Expand Down

0 comments on commit 66b462f

Please sign in to comment.