(10 respuestas)
Cerrado hace 7 años.
El shellscript es muy simple:
retroarch $* -c /tmp/retroarch/Data/retroarch/gambatte.cfg
("retroarch" es otro shellscript)
Si el nombre de archivo pasado contiene espacios, falla:
RetroArch [ERROR] :: Could not read ROM file.
Respuesta aceptada:
Usa comillas.
En lugar de
yourcommand some file.name
usar
yourcommand "some file.name"
Cuando utilice variables, cítelas también.
yourcommand "$filename"
yourcommand "[email protected]"
...