MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / Stdout

Method Stdout

internal/utils/exec/cmd.go:103–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101}
102
103func (this *Cmd) Stdout() string {
104 return strings.TrimSpace(this.RawStdout())
105}
106
107func (this *Cmd) RawStderr() string {
108 if this.stderr != nil {

Callers 9

TestNewTimeoutCmd_SleepFunction · 0.80
TestNewTimeoutCmd_EchoFunction · 0.80
TestNewTimeoutCmd_Echo2Function · 0.80
TestNewTimeoutCmd_Echo3Function · 0.80
setupSystemdMethod · 0.80
readVersionMethod · 0.80

Calls 1

RawStdoutMethod · 0.95

Tested by 4

TestNewTimeoutCmd_SleepFunction · 0.64
TestNewTimeoutCmd_EchoFunction · 0.64
TestNewTimeoutCmd_Echo2Function · 0.64
TestNewTimeoutCmd_Echo3Function · 0.64