luci: go.chromium.org/luci/common/system/exitcode Index | Files

package exitcode

import "go.chromium.org/luci/common/system/exitcode"

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

Index

Package Files

exitcode.go

func Get Uses

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.

Package exitcode imports 3 packages (graph) and is imported by 16 packages. Updated 2018-12-18. Refresh now. Tools for package owners.