executil

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package executil holds tiny helpers shared by the exec runners.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EchoCommand

func EchoCommand(w io.Writer, argv []string)

EchoCommand writes the set -x-style echo line "+ <argv>\n" to w.

func ShellJoin

func ShellJoin(argv []string) string

ShellJoin renders argv as a shell-style command line: elements are joined with single spaces; any element containing whitespace or a single quote is single-quoted (each ' escaped as '\”), bash set -x style. Simple elements pass through unquoted. Empty argv joins to the empty string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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