Appy/core/runner.go
2021-04-26 07:50:38 -05:00

23 lines
227 B
Go

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)
}
}