MCPcopy Index your code
hub / github.com/celer-pkg/celer / ExecuteOutput

Method ExecuteOutput

pkgs/cmd/exec.go:76–80  ·  view source on GitHub ↗

ExecuteOutput executes the command quietly and returns its combined stdout/stderr as a string.

()

Source from the content-addressed store, hash-verified

74
75// ExecuteOutput executes the command quietly and returns its combined stdout/stderr as a string.
76func (e *executor) ExecuteOutput() (string, error) {
77 var output fileio.LockedBuffer
78 err := e.executeWithRetry(&output)
79 return strings.TrimSpace(output.String()), err
80}
81
82// ExecuteOutputLive executes the command with live terminal output and returns its combined stdout/stderr as a string.
83func (e *executor) ExecuteOutputLive() (string, error) {

Callers 15

stripDeployedMethod · 0.80
GenBuildToolsVersionsMethod · 0.80
DetectMethod · 0.80
queryGroupPackagesMethod · 0.80
isGroupPackageMethod · 0.80
getOSTypeFunction · 0.80
readMSVCEnvsMethod · 0.80
detectMSVCGeneratorFunction · 0.80
changeDirOwnershipMethod · 0.80

Calls 2

executeWithRetryMethod · 0.95
StringMethod · 0.95

Tested by 2