mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-07 17:19:57 +00:00
11 lines
187 B
Go
11 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()
|
|
}
|