proc

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package proc holds the process-group primitives every harness adapter needs. It lives under harness/internal so the two adapters share one implementation of "start the child in its own group, and kill the whole group on cancel" rather than each carrying a platform-split copy of it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(cmd *exec.Cmd)

Configure puts the harness child in its own process group so KillGroup can take out everything it spawned without signalling the runner itself.

func KillGroup

func KillGroup(cmd *exec.Cmd) error

KillGroup signals the whole group led by cmd. A harness starts compilers, test runners and git; signalling only the direct child leaves those holding the task worktree.

Types

This section is empty.

Jump to

Keyboard shortcuts

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