Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Supervises external programs from Go CLIs with explicit arguments, contexts, timeouts, signals, pipe handling, and descendant cleanup.
Use this skill ↓88% 96%+8 ptsof test cases passed
Passed 25 of 26 test cases with the skill, and 23 of 26 without it.
3 of 3 safety checks passed
Not used yet
Treat child-process lifecycle as correctness. Observe the terminal result, propagate cancellation, and clean up every process, pipe, and temporary resource.
| Task | Load |
|---|---|
| Implement or repair process supervision | guidelines.md, workflows/supervise-external-command.md |
| Apply modern execution and cancellation rules | references/process-control/rules.md |
| Use runner, pipeline, signal, or cleanup patterns | references/process-control/patterns.md |
| Start from focused code examples | references/process-control/examples.md |
| Review a subprocess boundary | references/process-control/checklist.md |
| Understand lifecycle and shell semantics | references/process-control/knowledge.md |
exec.Command invokes a shell.Start as success; inspect the terminal result.Cmd.String() as diagnostic text, never shell-safe replay or secret-safe output.Guidance is transformed and paraphrased from Ricardo Gerardi, Powerful Command-Line Applications in Go (Pragmatic Bookshelf, 2021),
Next to this one in the catalogue, plus more from the same author.