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

Method RunWithStdout

core/utils/cmd/cmdx.go:90–92  ·  view source on GitHub ↗
(name string, arg ...string)

Source from the content-addressed store, hash-verified

88}
89
90func (c *CommandHelper) RunWithStdout(name string, arg ...string) (string, error) {
91 return c.run(name, arg...)
92}
93
94func (c *CommandHelper) RunPipe(commands ...PipeCommand) (string, error) {
95 if len(commands) == 0 {

Callers 14

CopyItemFunction · 0.45
runTarFunction · 0.45
runUnTarFunction · 0.45
runFunction · 0.45
IsActiveMethod · 0.45
IsActiveMethod · 0.45
UpdatePortFunction · 0.45
firewallUpdatePortFunction · 0.45
ufwUpdatePortFunction · 0.45
LoadArchFunction · 0.45
LoadTimeZoneByCmdFunction · 0.45
portFunction · 0.45

Calls 1

runMethod · 0.95

Tested by

no test coverage detected