cmd

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitCodeWithDefault

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

func IsExitCoder(err error) bool

func Run

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