Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcX ¶
type ProcX struct { DriverName drivers.DriverName `json:"driverName"` Driver drivers.Driver `json:"driver"` PassWorkAsArg bool `json:"passWorkAsArg"` PassWorkAsStdin bool `json:"passWorkAsStdin"` PayloadFile string `json:"payloadFile"` KeepPayloadFile bool `json:"KeepPayloadFile"` HostEnv bool `json:"hostEnv"` Bin string `json:"bin"` Args []string `json:"args"` // contains filtered or unexported fields }
func (*ProcX) Exec ¶
Exec will execute the given script, streaming the output to the provided io.Writers. If the script exits with a non-zero exit code, an error will be returned. If the script exits with a zero exit code, no error will be returned.
func (*ProcX) PayloadString ¶ added in v0.0.22
Click to show internal directories.
Click to hide internal directories.