binarymanagers

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

README

Every directory in binarymanagers is a binary like piper or ffmpeg that we can chain together in order to create an audiobook. client.go contains the top level runners that handle stdin / stdout and are generic across binaries.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cmd []string) (string, error)

Run a shell command and output the combined stdout and stderr

Types

type PipedOutput

type PipedOutput struct {
	Handle *exec.Cmd
	Stdout io.ReadCloser
	Stderr io.ReadCloser
}

Representation of the output of a shell command

func RunPiped

func RunPiped(cmdName string, args []string, pipedInput io.Reader) (PipedOutput, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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