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

Method Run

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

Source from the content-addressed store, hash-verified

85}
86
87func (this *Cmd) Run() error {
88 if this.cancelFunc != nil {
89 defer this.cancelFunc()
90 }
91
92 var cmd = this.compose()
93 return cmd.Run()
94}
95
96func (this *Cmd) RawStdout() string {
97 if this.stdout != nil {

Callers 10

InstallMethod · 0.95
TestNewTimeoutCmd_SleepFunction · 0.45
TestNewTimeoutCmd_EchoFunction · 0.45
TestNewTimeoutCmd_Echo2Function · 0.45
TestNewTimeoutCmd_Echo3Function · 0.45
TestCmd_ProcessFunction · 0.45
CloseMethod · 0.45
TestMainFunction · 0.45
SyncMethod · 0.45
syncNtpdateMethod · 0.45

Calls 1

composeMethod · 0.95

Tested by 6

TestNewTimeoutCmd_SleepFunction · 0.36
TestNewTimeoutCmd_EchoFunction · 0.36
TestNewTimeoutCmd_Echo2Function · 0.36
TestNewTimeoutCmd_Echo3Function · 0.36
TestCmd_ProcessFunction · 0.36
TestMainFunction · 0.36