procwait

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Wait

func Wait(pid int) error

Wait blocks until the process with the given PID exits. Polls with syscall.Kill(pid, 0) every 500ms. Signal 0 doesn't send a signal — it just checks whether the process exists. Returns an error immediately if the process doesn't exist at the start.

Types

This section is empty.

Jump to

Keyboard shortcuts

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