package process

import "github.com/dotcloud/docker/pkg/process"

Package process provides a set of basic functions to manage individual processes.

Index

Functions

func Alive

func Alive(pid int) bool

Alive returns true if process with a given pid is running.

func Kill

func Kill(pid int) error

Kill force-stops a process.

func Zombie

func Zombie(_ int) (bool, error)

Zombie is not supported on Windows.

TODO(thaJeztah): remove once we remove the stubs from pkg/system.

Source Files

doc.go process_windows.go

Version
v24.0.6+incompatible
Published
Aug 29, 2023
Platform
windows/amd64
Imports
2 packages
Last checked
37 minutes ago

Tools for package owners.