sh

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Quote

func Quote(arg string) string

Quote quotes a shell command parameter.

func RunCommand

func RunCommand(name string, arg ...string) error

RunCommand executes a shell command.

func SplitParameters

func SplitParameters(s string) []string

SplitParameters splits shell command parameters, taking quoting in account.

Types

This section is empty.

Jump to

Keyboard shortcuts

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