shell

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const SHELL_PROGRAMM = "/bin/sh"

Variables

This section is empty.

Functions

func IgnoreInterrupt

func IgnoreInterrupt(e error) error

func NewSyncShell

func NewSyncShell(ctx context.Context, ops ShellOps) *syncShell

Types

type ShellOps

type ShellOps struct {
	ShellPath string
	ExecPath  string
	Env       map[string]string
	Cmd       string
}

Jump to

Keyboard shortcuts

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