osexec

package
v0.0.140 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OSRun

func OSRun(command string, args []string) (string, error)

func RunUnix

func RunUnix(command string, args []string) (string, error)

func RunWindows

func RunWindows(command string, args []string) (string, error)

Types

type RunError

type RunError struct {
	Command string
	Args    []string
	Parent  error
	StdOut  string
}

func (*RunError) Error

func (e *RunError) Error() string

Jump to

Keyboard shortcuts

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