// Package run executes external commands wired straight to the terminal — // stdin/stdout/stderr passed through — for interactive or long-running tools // (MFA prompts, docker compose, prod-data fetches). No timeout: these are // foreground commands the user is watching. package run import ( "os" "os/exec" ) // Stream runs name+args with the process's own stdio attached, so prompts and // live output reach the user directly. dir sets the working directory (""=cwd). func Stream(dir, name string, args ...string) error { c := exec.Command(name, args...) c.Dir = dir c.Stdin = os.Stdin c.Stdout = os.Stdout c.Stderr = os.Stderr return c.Run() }