Documentation ¶
Index ¶
- Constants
- func Exec(cmds ...string) (outMsg, errMsg []byte, e error)
- func ExecCommand(handler func(string, int), commandName string, params ...string) (resStr, errStr string, err error)
- func ExecCommandWithPipe(cmds []string, out, err io.Writer, in io.Reader) (e error)
- func ExecCommandWithPipeAsync(cmds []string, out, err io.Writer, in io.Reader) (cmd *exec.Cmd, e error)
- func KillProcess(processName string) (killedProgress []string)
Constants ¶
View Source
const ( CMD_Flag_Start = 1 CMD_Flag_Out = 2 CMD_Flag_Err = 3 CMD_Flag_Over = 4 )
Variables ¶
This section is empty.
Functions ¶
func ExecCommand ¶
func ExecCommandWithPipe ¶
func KillProcess ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.