Problem still not clear. Calling illustrator from the applescript editor instead of the shell from illustrator.sublime-build seemed to fix it. Investigate.