Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandAsyncStdout ¶
func CommandAsyncStdout(name string, args string, funcStdout FuncAsyncStd, funcStderr FuncAsyncStd) (err error)
CommandAsyncStdout 异步执行命令,并返回标准输出 name:命令名称,默认为 /bin/bash
或者 "C:\\Program Files\\Git\\bin\\bash.exe" args:"chmod +x /xx/xx/x.sh"
args:"chmod +x /xx/xx/x.sh" funcStdout nil:disable stdout funcStderr nil:disable stderr
Types ¶
type FuncAsyncStd ¶
Click to show internal directories.
Click to hide internal directories.