pipeutil

package
v0.0.0-...-5fe729b Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Overview

Package pipeutil provides additional functionality for gopkg.in/pipe.v2 package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DividedOutputDir

func DividedOutputDir(p pipe.Pipe, dir string) (stdout []byte, stderr []byte, err error)

DividedOutputDir is identical to pipe.DividedOutput, except it sets the starting dir.

func ExecCombinedOutput

func ExecCombinedOutput(name string, args ...string) pipe.Pipe

ExecCombinedOutput returns a pipe that runs the named program with the given arguments, while forwarding stderr to stdout.

func OutputDir

func OutputDir(p pipe.Pipe, dir string) ([]byte, error)

OutputDir is identical to pipe.Output, except it sets the starting dir.

Types

This section is empty.

Jump to

Keyboard shortcuts

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