detached

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package detached runs background commands, such as hooks and git, away from the terminal the TUI draws on.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(ctx context.Context, name string, arg ...string) *exec.Cmd

Command runs the command in its own session without a terminal, so nothing it starts can prompt on the TUI's terminal. Canceling kills the whole session, including child processes (on Windows, only the command itself). Wait stops waiting for leftover output holders after one second.

Types

This section is empty.

Jump to

Keyboard shortcuts

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