MCPcopy Create free account
hub / github.com/aclements/go-misc / StartCommand

Function StartCommand

stress2/cmd.go:68–125  ·  view source on GitHub ↗

StartCommand starts a managed command with the given command-line arguments, with its stdout and stderr redirected to out. This has several differences from exec.Command: - This attempts to manage the entire sub-process tree. - Output to out will be stopped when the command completes, even if sub

(args []string, out io.Writer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestStdoutExitRaceFunction · 0.85
run1Method · 0.85

Calls 2

readerMethod · 0.95
waiterMethod · 0.95

Tested by 1

TestStdoutExitRaceFunction · 0.68