Documentation ¶
Index ¶
- func Exec(command string, args ...string) ([]byte, error)
- func ExecOut(out *os.File, command string, args ...string) error
- func System32(file string) string
- type Process
- func (this *Process) AppendEnv(key, value string)
- func (this *Process) AppendFile(file ...*os.File)
- func (this *Process) Pid() int
- func (this *Process) SetErr(err *os.File)
- func (this *Process) SetIn(in *os.File)
- func (this *Process) SetOut(out *os.File)
- func (this *Process) SetPwd(dir string)
- func (this *Process) Start() error
- func (this *Process) StartBackground() error
- func (this *Process) Wait() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Process ¶
type Process struct {
// contains filtered or unexported fields
}
func NewProcess ¶
func (*Process) StartBackground ¶
Click to show internal directories.
Click to hide internal directories.