shell

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(name string, args ...string) *exec.Cmd

Command returns a new command with args Running shell command

func CommandContext

func CommandContext(ctx context.Context, name string, args ...string) *exec.Cmd

func QueryEscape

func QueryEscape(arg string) string

QueryEscape escapes the string so it can be safely placed inside a shell command query.

Types

This section is empty.

Jump to

Keyboard shortcuts

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