exec

package module
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 5 Imported by: 0

README

exec

This library is a thin wrapper over "os/exec", allowing execution of commands as a single string using bash -c ....

Maybe don't execute untrusted inputs. (You've been warned...)

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Options opt

Functions

func JustRun added in v1.1.0

func JustRun(program string, options ...option) string

func MustRun added in v1.1.0

func MustRun(program string, options ...option) string

func Run

func Run(program string, options ...option) (output string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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