passthrough arguments
This commit is contained in:
parent
153e007a98
commit
1b5fe4e85e
1 changed files with 1 additions and 0 deletions
1
main.go
1
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())
|
||||
|
|
Loading…
Reference in a new issue