Files
Pulse/internal/utils/command.go
2025-10-11 23:29:47 +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()
}