shell

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: MIT Imports: 10 Imported by: 0

README

shell

import "github.com/eunomie/dague/internal/shell"

Index

func Expand

func Expand(s string, env map[string]string) (string, error)

func Interpret

func Interpret(ctx context.Context, cmd string, env map[string]string) (string, error)

func Run

func Run(ctx context.Context, cmd string, env map[string]string) error

func interpret

func interpret(ctx context.Context, cmd string, env map[string]string, outWriter, errWriter io.Writer) error

Generated by gomarkdoc

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expand

func Expand(s string, env map[string]string) (string, error)

func Interpret

func Interpret(ctx context.Context, cmd string, env map[string]string) (string, error)

func Run

func Run(ctx context.Context, cmd string, env map[string]string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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