cmdutil

package
v0.29.2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecSimple

func ExecSimple(command string) (bytes.Buffer, bytes.Buffer, error)

ExecSimple provides a simple interface to execute a system command.

func ExecToFiles

func ExecToFiles(command, stdoutFile, stderrFile string, perm os.FileMode) (bytes.Buffer, bytes.Buffer, error)

ExecToFiles provides a simple interface to execute a system command. Redirects for STDOUT and STDERR must be passed in as file names, not as `>` and `2>` UNIX file descriptors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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