shell

package
v0.0.0-...-57f0fcb Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(ctx context.Context, cmd string) error

Run a command with | or other things that do not work in shellcmd

func ExecAll

func ExecAll(ctx context.Context, cmds ...string) error

func LocalenvCmd

func LocalenvCmd(ctx context.Context, cmd string) error

Run a command in the context of /localenv

func Output

func Output(ctx context.Context, cmd string) ([]byte, error)

func PipeInExec

func PipeInExec(ctx context.Context, cmd string, stdin []byte) error

func PipeInForOutput

func PipeInForOutput(ctx context.Context, cmd string, stdin []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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