package
0.0.0-20241109021313-6e2457b08dcf
Repository: https://github.com/hjh0924/genericgo.git
Documentation: pkg.go.dev
# Functions
Run 在给定的上下文中执行指定的命令,并返回执行结果。 它使用 context.Context 来支持取消操作,允许从运行的命令中传递信号。 此函数封装了 os/exec 包的 CommandContext 方法,简化了命令执行的过程。.