Appy/core/runner.go

23 lines
227 B
Go
Raw Normal View History

2021-04-26 12:50:38 +00:00
package core
import (
"fmt"
"log"
"os/exec"
)
const emulatorPath = "gsplus"
func Run() {
fmt.Println("Running an emulator")
cmd := exec.Command(emulatorPath)
err := cmd.Run()
if err != nil {
log.Fatal(err)
}
}