Documentation ¶ Overview ¶ Package exec provides utility functions for executing commands. Index ¶ func CmdWithLogs(ctx context.Context, cmd *exec.Cmd, message string) ([]byte, error) 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. Source Files ¶ View all Source files exec.go Click to show internal directories. Click to hide internal directories.