exec

package
v0.0.0-...-883ffc1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2025 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	File           string
	SpecialFile    bool
	Shell          bool
	UseWorkingPath bool
	AsAdmin        bool
	Wait           bool
	ShowWindow     bool
	Pid            bool
	ExitCode       bool
	Args           []string
}

func (Options) Exec

func (options Options) Exec() (result *Result)

type Result

type Result struct {
	Err      error
	ExitCode int
	Pid      uint32
}

func (*Result) Success

func (result *Result) Success() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳