MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / WithStdout

Method WithStdout

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

Source from the content-addressed store, hash-verified

55}
56
57func (this *Cmd) WithStdout() *Cmd {
58 this.captureStdout = true
59 return this
60}
61
62func (this *Cmd) WithStderr() *Cmd {
63 this.captureStderr = true

Callers 8

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

Calls

no outgoing calls

Tested by 3

TestNewTimeoutCmd_SleepFunction · 0.64
TestNewTimeoutCmd_EchoFunction · 0.64
TestNewTimeoutCmd_Echo2Function · 0.64