shell

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 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(ops ShellOps) *syncShell

Types

type ShellOps

type ShellOps struct {
	ShellPath string
	ExecPath  string
	Env       map[string]string
	Cmd       string
	Ctx       context.Context
}

Jump to

Keyboard shortcuts

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