script

package
v0.9.286 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const SHELL = "/bin/bash"

Variables

This section is empty.

Functions

func Chroot

func Chroot(path string, script string) string

Chroot wraps a script to execute within a chroot environment

func Run

func Run(ctx context.Context, scripts ...string) error

func Source

func Source(scripts ...string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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