From 66b462f3b5b7cbb112844b1f635de8aa24f11bad Mon Sep 17 00:00:00 2001 From: Grant Linville Date: Tue, 2 Jul 2024 19:43:32 -0400 Subject: [PATCH] debug Signed-off-by: Grant Linville --- integration/helpers.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integration/helpers.go b/integration/helpers.go index 500604e2..ca1c6fe4 100644 --- a/integration/helpers.go +++ b/integration/helpers.go @@ -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...) }