cmd

package
v0.0.0-...-b9a5538 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCmd

func RunCmd(print bool, cmdStr ...string) (string, error)

RunCmd runs the command string cmdStr, if print is true redirects output to stdout. Returns the command output.

func RunCmdLog

func RunCmdLog(outputLog string, timeout time.Duration, cmdStr ...string) error

RunCmdLog runs the command string cmdStr with specified timeout, redirects output to outputLog.

Types

This section is empty.

Jump to

Keyboard shortcuts

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