exec

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(hidden bool, programName string, args ...string) (string, error)

Execute the program with args. If hidden is set, no output (except errors) will be printed and stdout will not be passed to the program. It returns the combined output if hidden is true. Otherwise all output will be printed directly to stdout.

func IsInstalled

func IsInstalled(programName string) bool

func OpenBrowser

func OpenBrowser(url string) error

Opens the specified URL in the default browser.

Types

This section is empty.

Jump to

Keyboard shortcuts

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