edit: my written imgs project was not selected..
[gallery link="file"]
#!/bin/bash app="./SpaceRace1_WrittenImgsAndreSier.app/Contents/MacOS/JavaApplicationStub" imgs="" imgPath="/Users/alunos/Desktop/distrib-SR1-written-AndréSier/SR100-imgsAS" for ((i=0;i<1000;i++)) do imgs+=" $imgPath/SR-$i.png" done echo "-------------------SPACE--RACE--1--script------------" echo "trying-----------------------------------------------" echo "$app $imgs" echo "-----------------------------------------------------" $app $imgs echo "-----------------------------------------------------" echo "done-------------------------------------------------" echo "-------------------SPACE--RACE--1--script------------"