shellx

package
v3.16.7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package shellx runs external commands.

Index

Constants

This section is empty.

Variables

View Source
var ErrNoCommandToExecute = errors.New("shellx: no command to execute")

ErrNoCommandToExecute means that the command line is empty.

Functions

func Run

func Run(logger model.InfoLogger, name string, arg ...string) error

Run executes the specified command with the specified args.

func RunCommandline

func RunCommandline(logger model.InfoLogger, cmdline string) error

RunCommandline executes the given command line.

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