cmd_utils

package
v0.2.61 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCommand added in v0.2.52

func CheckCommand(command string) (string, error)

检查命令是否存在,如果存在返回cmd的返回值,否则返回错误

func CheckCommandExist

func CheckCommandExist(command string) bool

func ClearLog

func ClearLog()

func ExecuteCmd

func ExecuteCmd(command string, dir string, beforeMsg string, afterMsg string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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