system

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

system package contains wrappers for OS interactions.

Index

Constants

This section is empty.

Variables

View Source
var Cmd = osCmd{}
View Source
var NullReader = nullReader{}

Functions

func MaxCmdLen

func MaxCmdLen() int

Types

type Command added in v1.6.15

type Command interface {
	Run([]string, string, io.Reader, io.Writer, io.Writer) error
}

type CommandWithContext added in v1.6.15

type CommandWithContext interface {
	RunWithContext(context.Context, []string, string, io.Reader, io.Writer, io.Writer) error
}

Jump to

Keyboard shortcuts

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