exec

package
Version: v0.0.0-...-ea67977 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2021 License: Apache-2.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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL