shell

package
v0.6.4-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteCommandWithShell

func ExecuteCommandWithShell(
	ctx context.Context,
	command string,
	stdin io.Reader,
	stdout io.Writer,
	stderr io.Writer,
	environ []string,
) error

func GetShell added in v0.5.19

func GetShell(userName string) ([]string, error)

func RunEmulatedShell

func RunEmulatedShell(ctx context.Context, command string, stdin io.Reader, stdout io.Writer, stderr io.Writer, env []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