exec

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package exec provides utility functions for executing commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdWithLogs

func CmdWithLogs(ctx context.Context, cmd *exec.Cmd, message string) ([]byte, []byte, error)

CmdWithLogs executes the passed in command in a goroutine while the main thread waits for the command to complete. The main thread logs a message at regular intervals until the command completes. Returns stdout, stderr, and error separately.

Types

This section is empty.

Jump to

Keyboard shortcuts

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