Documentation
¶
Overview ¶
Package process provides low level operations on OS processes
Index ¶
Constants ¶
View Source
const ToolHiveDetachedEnv = "TOOLHIVE_DETACHED"
ToolHiveDetachedEnv is the environment variable used to indicate that the process is running in detached mode.
View Source
const ToolHiveDetachedValue = "1"
ToolHiveDetachedValue is the expected value of ToolHiveDetachedEnv when set.
Variables ¶
This section is empty.
Functions ¶
func FindProcess ¶
FindProcess finds a process by its ID and checks if it's running. This function works on Unix systems (Linux and macOS).
func IsDetached ¶ added in v0.0.33
func IsDetached() bool
IsDetached checks if the process is running in detached mode.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.