exec

package
v0.0.0-...-fd2337b Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteOutput

func WriteOutput(in io.ReadCloser, post io.WriteCloser) error

Types

type Executor

type Executor interface {
	Command(path string, args ...string)
	Stream(posters ...io.WriteCloser) error
}

type RealExecutor

type RealExecutor struct {
	*exec.Cmd
}

func (*RealExecutor) Command

func (e *RealExecutor) Command(bin string, args ...string)

func (*RealExecutor) Stream

func (e *RealExecutor) Stream(posters ...io.WriteCloser) error

Jump to

Keyboard shortcuts

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