Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandExecResult ¶
type CommandExecResult struct {
Success bool // Success 命令是否执行成功
CommandString string // CommandString 命令字符串
Output string // Output 命令执行输出
Error error // Error 命令执行错误
}
CommandExecResult 命令执行结果
func CommandExecute ¶
func CommandExecute(command string) CommandExecResult
CommandExecute 执行系统命令并打印结果 Args: command string 命令字符串 Returns: CommandExecResult 命令执行结果
Click to show internal directories.
Click to hide internal directories.