process

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package process encapsulates OS-independent process management helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KillByPid

func KillByPid(pid int) error

KillByPid causes the Process to exit immediately. It does not wait until the Process has actually exited. This only kills the Process itself, not any other processes it may have started. If the process can't be found at the moment of the call, KillByPid returns nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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