Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandAsyncStdout ¶
func CommandAsyncStdout(args string, funcStdout FuncAsyncStd, funcStderr FuncAsyncStd) (err error)
args:"chmod +x /xx/xx/x.sh" funcStdout nil:disable stdout funcStderr nil:disable stderr
func ScriptAsyncStdout ¶
func ScriptAsyncStdout(funcStdout FuncAsyncStd, funcStderr FuncAsyncStd, scriptPathFile string, arg ...string) (err error)
ScriptAsyncStdout(funcStdout, funcStderr, "/xxx/xxx.sh", "arg1", "arg2", "arg3", "arg4")
Types ¶
type FuncAsyncStd ¶
Click to show internal directories.
Click to hide internal directories.