Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Start a specific emulator by command line › Reply To: Start a specific emulator by command line
03/08/2016 at 01:46
#119521
Participant
Hallo again!
So, work is still in progress…
I wrote the skript and it works fine until I want to execute the command,
I use:
command = retroarch -L /opt/retropie/libretrocores/lr-pocketsnes/libretro.so /home/pi/RetroPie/roms/snes/nameofmyrom.smc
subprocess.check_call(command, shell=True)
But it returns:
“returned non-zero exit status 2”
I tried some variations but I dont get it :(
Any ideas about that?