Run Processing from Terminal
In recent project, I have to connect the input from Processing to Unity through osc. So, I wonder if I can execute Processing using comand line and execute it within C# script.
To do so, in OSX it's simple to install processing-java from tools.
Afterwards, you can run pde using the following:
processing-java --sketch=[PATH OF PDE FOLDER] --run
In Windows, processing-java.exe is in the same folder of processing.exe. Needless to install from tools, but the command should specify the path of the processing-java.exe.
[PATH OF procesing-java FOLDER]processing-java --sketch=[PATH OF PDE FOLDER] --run