Files
Pulse/internal/utils/command.go
2025-09-29 20:19:18 +00:00

12 lines
187 B
Go

package utils
import (
"os/exec"
)
// RunCommand executes a system command
func RunCommand(name string, args ...string) error {
cmd := exec.Command(name, args...)
return cmd.Run()
}