From 8f3c7156f8027c259fbf24f20191010d63ad5c99 Mon Sep 17 00:00:00 2001 From: sewn Date: Mon, 23 Oct 2023 23:05:12 +0300 Subject: [PATCH] cmd: drop stderr/out setting in Wine --- cmd/vinegar/vinegar.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmd/vinegar/vinegar.go b/cmd/vinegar/vinegar.go index 11dc1b07..294ad7a8 100644 --- a/cmd/vinegar/vinegar.go +++ b/cmd/vinegar/vinegar.go @@ -70,10 +70,7 @@ func main() { usage() } - cmd := pfx.Wine(args[1], args[2:]...) - cmd.Stderr = os.Stderr - cmd.Stdout = os.Stdout - if err := cmd.Run(); err != nil { + if err := pfx.Wine(args[1], args[2:]...).Run(); err != nil { log.Fatal(err) } case "kill":