Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.45 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.45 KB

goexec

PkgGoDev GoReport GoLang .github/workflows/main.yml semantic-release Conventional Commits KeepAChangelog License

Package goexec is a fluent decorator based API for os/exec.

Looking for v1, see the master branch

Quick Start

go get -u github.com/brad-jones/goexec/v2

package main

import (
	"github.com/brad-jones/goexec/v2"
)

func main() {
	goexec.Run("ping", "-c", "4", "8.8.8.8")
}

Also see further working examples under: https://github.com/brad-jones/goexec/tree/v2/examples