exec

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: Apache-2.0 Imports: 4 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, 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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