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

Method WithStderr

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

Source from the content-addressed store, hash-verified

60}
61
62func (this *Cmd) WithStderr() *Cmd {
63 this.captureStderr = true
64 return this
65}
66
67func (this *Cmd) WithEnv(env []string) *Cmd {
68 this.env = env

Callers 13

InstallMethod · 0.95
installSystemdServiceMethod · 0.80
TestNewTimeoutCmd_SleepFunction · 0.80
TestNewTimeoutCmd_EchoFunction · 0.80
TestNewTimeoutCmd_Echo2Function · 0.80
syncNtpdateMethod · 0.80
runActionMethod · 0.80
runActionSingleIPMethod · 0.80
runActionSingleIPMethod · 0.80
InitMethod · 0.80
runActionSingleIPMethod · 0.80
loopMethod · 0.80

Calls

no outgoing calls

Tested by 3

TestNewTimeoutCmd_SleepFunction · 0.64
TestNewTimeoutCmd_EchoFunction · 0.64
TestNewTimeoutCmd_Echo2Function · 0.64