Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
Command string //命令行
Cmd *exec.Cmd
CtxCancel context.CancelFunc
Ctx context.Context
OutPutBuf *bufio.Reader //命令输出流
ErrPutBuf *bufio.Reader //错误输出流
// contains filtered or unexported fields
}
func (*Cmd) ConvertUtf8 ¶
func (*Cmd) GetCustomErrChan ¶
func (*Cmd) GetCustomOutChan ¶
func (*Cmd) SetTimeout ¶
SetTimeout cxt timeout
func (*Cmd) WaitCustomChan ¶
Click to show internal directories.
Click to hide internal directories.