exec

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CMD added in v0.1.13

func CMD(s string) *exec.Cmd

func ContainQuotedCMD added in v0.0.20

func ContainQuotedCMD(s string) *exec.Cmd

func Run

func Run(s string, opts ...Option) error

func RunContainQuoted added in v0.1.13

func RunContainQuoted(s string) error

func RunGetOut added in v0.1.13

func RunGetOut(s string, opts ...Option) (string, error)

func RunGetOutContainQuoted added in v0.1.13

func RunGetOutContainQuoted(s string) (string, error)

func RunGetOutWithLog added in v0.1.13

func RunGetOutWithLog(s string, opts ...Option) (string, error)

func RunWithLog added in v0.1.13

func RunWithLog(arg string, opts ...Option) error

func Split added in v0.0.20

func Split(line string) []string

func WaitShutdown added in v0.0.20

func WaitShutdown()

Types

type Option added in v0.1.13

type Option func(cmd *exec.Cmd)

Jump to

Keyboard shortcuts

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