Batch export

Georg…
trying to use this script and it exports OTF right but the Glyphsapp keeps running the “exportation window” and if cancel the window (even because the exportation is done) it crashes. Any clue wheres why?
cheers!