From 1b5fe4e85ee3f7c5f5a9dbc21aa57bed63cd4bf7 Mon Sep 17 00:00:00 2001 From: nezu Date: Mon, 21 Oct 2024 16:46:23 +0200 Subject: [PATCH] passthrough arguments --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index ce16af6..2507d75 100644 --- a/main.go +++ b/main.go @@ -170,6 +170,7 @@ func main() { go func() { cmd := exec.Command(*program, fmt.Sprintf("--proxy-server=%s:%d", ip, port), "--ignore-certificate-errors") + cmd.Args = append(cmd.Args, flag.Args()...) cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr log.Fatal(cmd.Run())