exec

package
v0.0.0-...-1429472 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package exec provides utilities for executing external commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(command, workDir string, args ...string) error

Run executes a command with the given arguments in the specified working directory. Returns an error if the command fails.

func RunWithOutput

func RunWithOutput(command, workDir string, args ...string) (string, error)

RunWithOutput executes a command and returns its combined stdout and stderr output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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