proc

package
v0.0.0-...-2920ad6 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2023 License: MIT Imports: 6 Imported by: 1

Documentation

Overview

Package proc with functions to assist plugins

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Stop

func Stop(name string, pid int) error

Stop a process, wait until timeout This first tries using SIGTERM. If the timeout expires then try Kill. If kill also fails then return an error. Returns nil if the process is not running after the timeout This returns an error when the process fails to stop after the timeout.

func WaitForSignal

func WaitForSignal()

WaitForSignal waits until a TERM or INT signal is received Intended for use by hub services to run until the app is done

Types

This section is empty.

Jump to

Keyboard shortcuts

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