OSX - CLI (Command Line Interface) wont run without GUI

So As fr as my understanding goes, using the new arduino IDE, I should be able to do:

/Applications/Arduino.app/Contents/MacOS/JavaApplicationStub --upload etc etc etc

and it should upload to the board WITHOUT displaying the application. However this doesnt seem to work for me.

Anyone have any experiance with this?

You can skip the Java by enabling verbose logging for Build and Upload. This will show all the commands the IDE is using. You can then copy the commands into a shell script to run again as needed.

Hey calumk,

Did you figured out a solution?
Thanks!
A