Help us shape the future of Go! Take the 2026 Go Developer Survey

process

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package process runs context-owned build tools and cancels their descendants.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandContext

func CommandContext(ctx context.Context, executable string, arguments ...string) *exec.Cmd

CommandContext creates a command whose cancellation stops the entire tool invocation on supported developer platforms. The caller must Run it, or pair Start with Wait, before reusing any staging directory the command could write. WaitDelay also bounds inherited output pipes during cancellation cleanup.

Types

This section is empty.

Jump to

Keyboard shortcuts

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