run

package
v0.1.23-oss Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCommand

func BuildCommand(cmd string) *exec.Cmd

Types

type RunResult

type RunResult struct {
	Timestamp   time.Time
	Pid         int
	ExitCode    int
	Rusage      *syscall.Rusage
	RunDuration float64
	Stdout      []byte
	Stderr      string
	Err         error
}

func RunCommand

func RunCommand(cmd *exec.Cmd) (r RunResult)

Jump to

Keyboard shortcuts

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