...

Package runner

import "edge-infra.dev/pkg/sds/display/displaymanager/applier/xorg/command/runner"
Overview
Index
Subdirectories

Overview ▾

Index ▾

Package files

runner.go

type Runner

Runner takes a command with a set of arguments and runs them, returning an error.

type Runner interface {
    // Run runs the given command with arguments, returning an error.
    Run(cmdPath string, args ...string) error
}

func NewCommandRunner

func NewCommandRunner() Runner

NewCommandRunner returns a runner which runs commands inside the container using os/exec.

Subdirectories

Name Synopsis
..
fake