Pulse/internal/utils/command.go
Pulse Monitor 59f95dc13f feat: make security setup fully automatic for systemd
- One-click security that actually applies immediately
- Creates systemd override file automatically
- Auto-restarts service after 2 seconds
- No manual command line steps needed
- Shows clear success message about auto-restart
- Still provides manual instructions for Docker users
2025-08-12 21:08:00 +00:00

11 lines
No EOL
186 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()
}