pipedcmd

package
v0.9.12 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PipedCmd

type PipedCmd struct {
	Cmd    *exec.Cmd
	Stdin  io.WriteCloser
	Stdout io.ReadCloser
	Stderr io.ReadCloser
	// contains filtered or unexported fields
}

func New

func New(cmdline ...string) (*PipedCmd, error)

func (*PipedCmd) Start

func (c *PipedCmd) Start(stdin io.Reader) error

func (*PipedCmd) String

func (c *PipedCmd) String() string

func (*PipedCmd) Wait

func (c *PipedCmd) Wait() error

wait that cmd exits and copying ends.

Jump to

Keyboard shortcuts

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