[ Agent ] [ Executor ] - 初步完成Executor部分的代码
This commit is contained in:
@@ -2,6 +2,8 @@ package executor
|
||||
|
||||
import "os/exec"
|
||||
|
||||
var RemoveForcePrefix = []string{"rm", "-rf"}
|
||||
|
||||
// BasicCommandExists 判定命令是否存在
|
||||
func BasicCommandExists(commandName string) bool {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user