Files

9 lines
195 B
Go

package interface
import "os/exec"
type RealCommandRunner struct{}
func (r *RealCommandRunner) Run(name string, args ...string) ([]byte, error) {
return exec.Command(name, args...).Output()
}