os

package
v0.11.36 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KillTree

func KillTree(signal syscall.Signal, pid int32) error

KillTree sends signal to whole process tree, starting from given pid as root. Order of signalling in process tree is undefined.

func KillTreeWithExcludes added in v0.11.31

func KillTreeWithExcludes(signal syscall.Signal, pid int32, processesToExclude []string) error

KillTreeWithExcludes sends signal to whole process tree, starting from given pid as root. Omits processes matching names specified in processesToExclude. Kills using pids instead of pgids.

Types

This section is empty.

Jump to

Keyboard shortcuts

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