🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

github.com/brad-jones/goexec/v2

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/brad-jones/goexec/v2

Source
Go
Version
v2.1.7
Version published
Created
Source

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

FAQs

Package last updated on 28 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts