reaper

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package reaper collects detached child processes in ateom-microvm. Synchronous commands must use Run or RunCombined so the reaper cannot consume their exit status. Detached commands must use exec.Cmd.Start directly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cmd *exec.Cmd) error

Run runs cmd without allowing the child reaper to consume its exit status.

func RunCombined

func RunCombined(cmd *exec.Cmd) ([]byte, error)

RunCombined is Run for callers that need cmd.CombinedOutput.

func Start

func Start()

Start launches the SIGCHLD child reaper once.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL