gxos

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Kill

func Kill(process *os.Process, sig os.Signal, sigChildren bool) error

*

  • description : Kill send signal @sig to the @process <br/><br/> *
  • in-@process : the process which the signal should be sent to
  • in-@sig : the signal will be sent
  • in-@sigChildren : true if the signal needs to be sent to the children also *
  • out-@err : if successful, err is nil. Otherwise err.String() instead. *

func ToSignal

func ToSignal(signalName string) (os.Signal, error)

ToSignal convert a signal name to signal

Types

This section is empty.

Jump to

Keyboard shortcuts

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