passthrough arguments

This commit is contained in:
nezu 2024-10-21 16:46:23 +02:00
parent 153e007a98
commit 1b5fe4e85e

View file

@ -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())