utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: MPL-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallCommand

func CallCommand(cmdstr string) ([]byte, error)

CallCommand will run an external command, displaying its output interactively and return its output.

func CallCommandForEffect

func CallCommandForEffect(cmdstr string) error

func CallCommandForEffectWithDebug

func CallCommandForEffectWithDebug(cmdstr string) error

func CallCommandForEffectWithInputPipe

func CallCommandForEffectWithInputPipe(cmdstr, input string) error

func CallCommandForEffectWithInputPipeAndDebug

func CallCommandForEffectWithInputPipeAndDebug(cmdstr, input string) error

func CallCommandSeparatingOutputStreams

func CallCommandSeparatingOutputStreams(cmdstr string) ([]byte, []byte, error)

func CallCommandSilently

func CallCommandSilently(cmdstr string) ([]byte, error)

func Escape

func Escape(cmd string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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