exe

package
v0.0.0-...-9aed8fb Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package exe provides a mechanism for executing system commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenPrefix

func GenPrefix(wineExe, winePrefix, wineArch string) error

func QuickExe

func QuickExe(cmnd string, args ...string) (string, error)

Types

type ExeCtx

type ExeCtx struct {
	Args     []string
	Command  string
	EnvName  string
	EnvVars  []string
	Prefix   string
	Displays map[string]string
	Stderr   *os.File
	Stdout   *os.File
	Suffix   string
	Title    string
	WorkDir  string
}

ExeCtx represents the context needed for program execution.

func (*ExeCtx) Execute

func (ec *ExeCtx) Execute() error

Jump to

Keyboard shortcuts

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