Is there support for RunScript on the Mac? I gave it a try with the following:
cd /Applications/Rhinoceros.app/Contents/MacOS ./Rhinoceros runscript="_RunPythonScript"
…which resulted in Rhino believing it had been instructed to open a file. Changing
--runscript opened Rhino silently, i.e. no errors but no script/command run as far as I can tell.
Incidentally, launching the executable from the shell yields this line as its first output before dropping me into the ST-DEVELOPER copyright and program output:
2014-07-01 19:17:24.690 Rhinoceros[36856:507] Cannot find executable for CFBundle 0x7fcc50990b30 </Applications/Rhinoceros.app/Contents/PlugIns/Commands.rhp> (not loaded)
RunScript support would be very exciting because given enough control over Rhino from the Python api, one could wrap program configuration, plugins, etc. into one script which looks just like a native
.app– easy to launch and quicker than prompting for a script to run after opening a new document and after calling