spawn

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Launch

func Launch(cmd *exec.Cmd, providerName, dir, runtime, shell, envPrefix string) error

Launch runs a pre-built exec.Cmd in the specified runtime environment (tmux session or iTerm2 split pane). The provider name and directory are used to derive the tmux session name. The shell parameter specifies the login shell to use (e.g., "/bin/zsh"); use config.ResolveShell(). The envPrefix is prepended to the command (e.g., OTEL env vars).

func TmuxSessionName

func TmuxSessionName(provider, dir string) string

TmuxSessionName returns the tmux session name for a given provider and directory. Format: aimux-<provider>-<basename(dir)> with spaces replaced by hyphens.

Types

This section is empty.

Jump to

Keyboard shortcuts

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