package
0.8.9
Repository: https://github.com/influx6/npkg.git
Documentation: pkg.go.dev

# README

ZExec

Go Report Card Travis Build Status CircleCI

A simple shell execution library.

# Functions

Apply takes the giving series of CommandOption returning a function that always applies them to passed in commanders.
ApplyImmediate applies the options immediately to the Commander.
Async sets the commander to run in asynchronouse mode.
Binary sets the binary command for the Commander.
Command sets the command for the Commander.
Dir sets the Directory for the Commander exec call.
Envs sets the map of environment for the Commander.
Err sets the error writer for the Commander.
Input sets the input reader for the Commander.
New returns a new Commander instance.
Output sets the output writer for the Commander.
SetAsync sets the command for the Commander.
SubCommands sets the subcommands for the Commander exec call.
Sync sets the commander to run in synchronouse mode.
Timeout sets the commander to run in synchronouse mode.

# Variables

nerror ...

# Structs

Commander runs provided command within a /bin/sh -c "{COMMAND}", returning response associatedly.

# Interfaces

No description provided by the author

# Type aliases

CommanderOption defines a function type that aguments a commander's field.