exitcode

package
Version: v0.0.0-...-e56ba34 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: Apache-2.0 Imports: 3 Imported by: 12

Documentation

Overview

Package exitcode provides common methods to extract exit codes from errors returned by exec.Cmd.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(err error) (int, bool)

Get returns the process process exit return code given an error returned by exec.Cmd's Wait or Run methods. If no exit code is present, Get will return false.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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