process

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package process provides additional utilities for dealing with processes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecutableName

func ExecutableName(base, goos string) string

ExecutableName computes the name for an executable for a given base name on a specified operating system.

func ExitCodeForError

func ExitCodeForError(err error) (int, error)

ExitCodeForError extracts the process exit code from an error returned by os/exec.Process.Wait/Run. The error must be of type *os/exec.ExitError in order for this function to succeed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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