generic_command

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

package generic_command implements magmad shell command execution functionality

Index

Constants

View Source
const (
	Timeout = time.Minute
)

Variables

This section is empty.

Functions

func Execute

Execute runs the command specified by req and returns its results

func ToString

func ToString(c *exec.Cmd) string

ToString returns a human-readable description of c. It is intended only for debugging. In particular, it is not suitable for use as input to a shell. The output of String may vary across Go releases.

Types

This section is empty.

Jump to

Keyboard shortcuts

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