subprocess

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(c *exec.Cmd) (string, error)

func RunAndReplace

func RunAndReplace(command string, args, env []string) error

func RunLive

func RunLive(c *exec.Cmd) (string, error)

Types

type ExecErr

type ExecErr struct {
	Err        error
	ExitErr    *exec.ExitError
	ExecStdErr string
}

func (*ExecErr) Code

func (ee *ExecErr) Code() int

func (*ExecErr) Error

func (ee *ExecErr) Error() string

Jump to

Keyboard shortcuts

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