I wonder if anyone knows about the parameters for the C++ API function
RestartApplication() and its Python counterpart
void RestartApplication(const Utf16Char* param = nullptr, Int32 exitcode = 0, const Utf16Char** path = nullptr)
What can I do with
param, and - even more interesting - what can I do with C++'s
path? I suspect that
pathlets me start another application instead of Cinema 4D.
I'm asking because I'm thinking about implementing a plugin updater that would, just like the C4D updater, be able to exit Cinema, and start an application instead that will update the plugin files.
Thanks in advance!