MCPcopy Index your code
hub / github.com/1Panel-dev/1Panel / run

Function run

agent/utils/controller/manager/common.go:20–22  ·  view source on GitHub ↗
(name string, args ...string)

Source from the content-addressed store, hash-verified

18}
19
20func run(name string, args ...string) (string, error) {
21 return cmd.NewCommandMgr(cmd.WithTimeout(10*time.Second), cmd.WithEnv("LANGUAGE=en_US:en")).RunWithStdout(name, args...)
22}

Callers 14

StatusMethod · 0.70
OperateMethod · 0.70
StatusMethod · 0.70
OperateMethod · 0.70
IsExistMethod · 0.70
IsActiveMethod · 0.70
IsEnableMethod · 0.70
OperateMethod · 0.70
IsActiveMethod · 0.70
IsEnableMethod · 0.70
IsExistMethod · 0.70
StatusMethod · 0.70

Calls 1

RunWithStdoutMethod · 0.45

Tested by

no test coverage detected