The shellscript is very simple:retroarch $* -c /tmp/retroarch/Data/retroarch/gambatte.cfg(retroarch is another shellscript)If the filename passed contains spaces it fails:RetroArch [ERROR] :: Could not read ROM file.
passing filename with spaces to a shell script
filenames
Use quotes.Instead ofyourcommand some file.nameuseyourcommand some file.nameWhen using variables, quote them as well.yourcommand $filenameyourcommand $@...