Documentation ¶ Index ¶ func SetStd(sh Shared, cmd *exec.Cmd) type Shared func (sh *Shared) SetInput(input string) func (sh *Shared) SetInputf(input string, args ...any) func (sh *Shared) SetPath(path string) func (sh *Shared) SetPathf(path string, args ...any) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SetStd ¶ func SetStd(sh Shared, cmd *exec.Cmd) Types ¶ type Shared ¶ type Shared struct { Input string Path string PathConf struct { Enabled bool Path string // It's the same as Cmd.Path } CStd struct { Enabled bool Stdin bool Stderr bool Stdout bool } } func (*Shared) SetInput ¶ func (sh *Shared) SetInput(input string) func (*Shared) SetInputf ¶ func (sh *Shared) SetInputf(input string, args ...any) func (*Shared) SetPath ¶ func (sh *Shared) SetPath(path string) func (*Shared) SetPathf ¶ func (sh *Shared) SetPathf(path string, args ...any) Source Files ¶ View all Source files shared.go Click to show internal directories. Click to hide internal directories.