We would like to invoke a Python application from within ZBrush, which has a very limited API. One option is the FileExecute command, which invokes a method from a Windows DLL as follows:
[FileExecute, PluginTest.dll, ShowMsg, "Hi There"]
# Executes the "ShowMsg" routine in "PluginTest.dll" passing it the string "Hi There"
Is there a DLL included in the Windows Python installation that we could use to invoke an arbitrary Python script?
[FileExecute, PythonWindows.dll, RunScript, "example.py"]
# Runs the "example.py" script (found on the PYTHONPATH)
If not, how would you create such a DLL?