executil

package
v0.58.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2023 License: MIT Imports: 4 Imported by: 3

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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