MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / RunWithStdout

Method RunWithStdout

agent/utils/cmd/cmdx.go:106–108  ·  view source on GitHub ↗
(name string, arg ...string)

Source from the content-addressed store, hash-verified

104}
105
106func (c *CommandHelper) RunWithStdout(name string, arg ...string) (string, error) {
107 return c.run(name, arg...)
108}
109
110func (c *CommandHelper) RunWithOptionalSudoAndStdout(name string, arg ...string) (string, error) {
111 commandName, commandArgs := WrapWithOptionalSudo(name, arg...)

Callers 15

runFunction · 0.45
IsActiveMethod · 0.45
IsActiveMethod · 0.45
LoadListMethod · 0.45
VersionMethod · 0.45
ReBanIPsMethod · 0.45
ListBannedMethod · 0.45
ListIgnoreMethod · 0.45
RunDockerExecWithStdoutFunction · 0.45
StatusMethod · 0.45
VersionMethod · 0.45

Calls 1

runMethod · 0.95

Tested by

no test coverage detected