cmd

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2023 License: Apache-2.0 Imports: 24 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitCodeWithDefault added in v0.6.0

func ExitCodeWithDefault(err error) int

ExitCodeWithDefault returns the ExitStatus of a process from the error returned by exec.Run(). If the exit status is not available an error is returned.

func IsExitCoder added in v1.8.0

func IsExitCoder(err error) bool

func Run added in v0.6.0

func Run(name string, args []string) error

Types

This section is empty.

Directories

Path Synopsis
internal
tool

Jump to

Keyboard shortcuts

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