exec

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2016 License: BSD-2-Clause, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitCode

func ExitCode(err error) (int, bool)

ExitCode returns the exit code of a given error or `false, 0` if the given error is no ExitError.

func IsExitError

func IsExitError(err error) bool

IsExitError returns if a given error is an ExitError.

func SetPdeathsig

func SetPdeathsig(cmd *exec.Cmd, signal syscall.Signal)

SetPdeathsig set the parent-death signal for an executable command. The effect of this is that all child processes spawned by the parent process will exit when the parent process exits.

Types

This section is empty.

Jump to

Keyboard shortcuts

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