diff --git a/proxy/util.go b/proxy/util.go index 1b734dd..fc4bdfa 100644 --- a/proxy/util.go +++ b/proxy/util.go @@ -21,6 +21,8 @@ func processVars(cmd *util.Command, isVariableType bool) { for _, arg := range cmd.Arguments { cmd.Name = strings.Replace(cmd.Name, "$PRSW_ARG", arg, 1) } + + cmd.Arguments = nil } func injectProxy(cmd *util.Command, variant *util.Variant, proxyServer string) {