Hello,
I have some command line applications written in C++ that I would need to call from my Rhino Python scripts. I have entire control over where to deploy them on the system. I know how to call these external executables using the Python subprocess
module like:
successCode = subprocess.call( "C:\MyAppsDir\ExternalApp.exe" ) # Not very portable!
My goal is to be able to access these other applications from multiple Python scripts with as much portability as possible between our different Rhino installations on multiple machines. Some specific questions:
- Is there some canonical Rhino directories that could be used to store this kind of external applications?
- Are these directories, if they exist, accessible by Python scripting under some special names? For exemple:
rhinoscriptsyntax.GetThirdPartyAppsDir()
- If not, any other sensible alternative would be welcome!
Thanks