pm

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 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