process

package
v0.0.0-...-1356b9d Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RunningProcesses      []*exec.Cmd
	RunningProcessesMutex = sync.Mutex{}
)

Functions

func AddProcess

func AddProcess(process *exec.Cmd)

func KillAllProcessGroups

func KillAllProcessGroups()

func KillPortProcess

func KillPortProcess(port int)

KillPortProcess kills the process using the given port

func RemoveProcess

func RemoveProcess(process *exec.Cmd)

Types

This section is empty.

Jump to

Keyboard shortcuts

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