exec

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: MIT, Apache-2.0 Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CMD

func CMD(s string) *exec.Cmd

func ContainQuotedCMD

func ContainQuotedCMD(s string) *exec.Cmd

func Run

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

func RunContainQuoted

func RunContainQuoted(s string) error

func RunGetOut

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

func RunGetOutContainQuoted

func RunGetOutContainQuoted(s string) (string, error)

func RunGetOutWithLog

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

func RunWithLog

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

func WaitShutdown

func WaitShutdown()

Types

type Option

type Option func(cmd *exec.Cmd)

Jump to

Keyboard shortcuts

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