commands

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const DoubleQuote = "{DOUBLE_QUOTE}"
View Source
const SpaceWithinQuote = "{SPACE_WITHIN_QUOTE}"

Variables

This section is empty.

Functions

func Create

func Create(plainCommand string) *exec.Cmd

Create creates a command from a single string This allows you to pass parameters which include spaces as commands. You just need to add "double-quotes" around the parameter and it will be treated as one parameter and not be splitted by whitespace.

Types

This section is empty.

Jump to

Keyboard shortcuts

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