command

package
v0.0.0-...-4dc1fac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecCommand

func ExecCommand(commandName string, params []string) (bool, error)

func ExecShell

func ExecShell(s string) (string, error)

阻塞式的执行外部shell命令的函数,等待执行完毕并返回标准输出

func ExecShellWithNoResult

func ExecShellWithNoResult(command string)

不需要执行命令的结果与成功与否,执行命令马上就返回

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL