This commit is contained in:
Gabe Farrell 2026-04-02 19:14:36 -04:00
parent a8a5459b06
commit 853f08221f
9 changed files with 440 additions and 388 deletions

14
cmd.go Normal file
View file

@ -0,0 +1,14 @@
package main
import (
"os"
"os/exec"
)
// runCmd executes a shell command, forwarding stdout and stderr to the process output.
func runCmd(name string, args ...string) error {
cmd := exec.Command(name, args...)
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
return cmd.Run()
}