Hi there,
I wonder if anyone knows about the parameters for the C++ API function RestartApplication()
and its Python counterpart c4d.RestartMe()
.
C++:
void RestartApplication(const Utf16Char* param = nullptr, Int32 exitcode = 0, const Utf16Char** path = nullptr)
Python:
c4d.RestartMe(param=None, exitcode=0)
What can I do with param
, and - even more interesting - what can I do with C++'s path
? I suspect that path
lets 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!
Cheers,
Frank