exitstatus

package module
v0.0.0-...-0a65706 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2017 License: MIT Imports: 6 Imported by: 1

Documentation

Overview

Package exitstatus provides helper functions to print status of finished commands started by os/exec package in a human-friendly way.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reason

func Reason(err error) string

Reason translates error returned by os.Process.Wait() into human-readable string.

func Stats

func Stats(st *os.ProcessState) string

Stats returns finished process' CPU / memory statistics in human-friendly form.

Types

This section is empty.

Jump to

Keyboard shortcuts

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