exec

package
v0.0.0-...-4cdd93b Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggedCmd

type LoggedCmd struct {
	*exec.Cmd

	Stdout io.Writer
	Stderr io.Writer
	// contains filtered or unexported fields
}

func LoggedCommand

func LoggedCommand(name string, arg ...string) *LoggedCmd

func (*LoggedCmd) Run

func (c *LoggedCmd) Run() error

func (*LoggedCmd) Start

func (c *LoggedCmd) Start() error

func (*LoggedCmd) StderrPipe

func (c *LoggedCmd) StderrPipe() (io.ReadCloser, error)

func (*LoggedCmd) StdoutPipe

func (c *LoggedCmd) StdoutPipe() (io.ReadCloser, error)

func (*LoggedCmd) Wait

func (c *LoggedCmd) Wait() error

Jump to

Keyboard shortcuts

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