processhandler

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OSWrapper

type OSWrapper interface {
	WaitForProcessToComplete(processPid int)
	FindProcess(processPid int) osfacade.Process
}

type ProcessHandler

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

func New

func New(
	osWrapper OSWrapper,
) *ProcessHandler

func (*ProcessHandler) KillProcess

func (f *ProcessHandler) KillProcess(processPid int) error

func (*ProcessHandler) WatchProcessAndGetTerminationChan

func (f *ProcessHandler) WatchProcessAndGetTerminationChan(processPid int) <-chan struct{}

Jump to

Keyboard shortcuts

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