shellx

package
v0.0.0-...-bd88772 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package shellx contains utilities to run external commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(name string, arg ...string) error

Run executes the specified command with the specified args

func RunCommandline

func RunCommandline(cmdline string) error

RunCommandline is like Run but its only argument is a command line that will be splitted using the google/shlex package

func RunQuiet

func RunQuiet(name string, arg ...string) error

RunQuiet is like Run but it does not emit any output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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