util

package
v0.19.3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: MIT Imports: 5 Imported by: 294

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintCommand

func PrintCommand(cmd *exec.Cmd)

PrintCommand prints a command string

func RunAndLogCommand added in v0.19.0

func RunAndLogCommand(cmd *exec.Cmd) ([]byte, error)

RunAndLogCommand logs the command with a timestamp when it's run, and the duration at end

Types

This section is empty.

Jump to

Keyboard shortcuts

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