From bc84a55584a174c64da381e80e4e5081d5f341db Mon Sep 17 00:00:00 2001 From: Simon Wiles Date: Mon, 30 Jun 2025 15:38:32 -0700 Subject: [PATCH] Ignore `stderr` when running `rofi` Anything `rofi` returns on `stderr` will cause the `codeCmd` to fail in an unhelpful way. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 3121563..d3d3b0d 100644 --- a/main.go +++ b/main.go @@ -217,7 +217,7 @@ func runRofi(workspaces workspace.WorkspaceCollection) { } }() - out, err := cmd.CombinedOutput() + out, err := cmd.Output() if err != nil { log.Fatal(err) }