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

pm

package
v0.83.29 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(ctx context.Context, cmd string, profile *cliconfig.Profile) error

Exec implements a platform-agnostic child process execution

func WatchFiles

func WatchFiles(ctx context.Context, patterns []string, pm *ProcessManager) <-chan error

Types

type ProcessManager

type ProcessManager struct {
	// contains filtered or unexported fields
}

ProcessManager manages the lifecycle of a child process which can be started, stopped, and restarted.

func NewProcessManager

func NewProcessManager(cmd string, profile *cliconfig.Profile) *ProcessManager

func (*ProcessManager) KillProcess

func (pm *ProcessManager) KillProcess()

func (*ProcessManager) StartProcess

func (pm *ProcessManager) StartProcess(ctx context.Context) error

Jump to

Keyboard shortcuts

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