helper: eliminate commandContext replacement
This is done more cleanly by modifying Args in cmdF. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"os/exec"
|
||||
"sync"
|
||||
|
||||
"git.gensokyo.uk/security/fortify/helper"
|
||||
@@ -26,6 +27,7 @@ type Proxy struct {
|
||||
name string
|
||||
session [2]string
|
||||
system [2]string
|
||||
CmdF func(cmd *exec.Cmd)
|
||||
sysP bool
|
||||
|
||||
seal io.WriterTo
|
||||
|
||||
Reference in New Issue
Block a user