exec

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(executable string, args ...string) (string, error)

Cmd wraps the command execution pattern required in os/exec package. The command is executed with the supplied arguments and the output is returned to the caller. If an error occurs during the command execution, an error is returned with the messages read from the stderr of the executed command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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