exec

package
v0.0.0-...-6caa2fa Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

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