mirror of
https://github.com/digarok/Appy.git
synced 2024-11-22 09:32:39 +00:00
23 lines
227 B
Go
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)
|
|
}
|
|
|
|
}
|