i have the following piece of code
int nArgs;
if (LPWSTR * const szArglist = CommandLineToArgvW(GetCommandLineW(), &nArgs))
{
PySys_SetArgvEx(nArgs, szArglist, false);
LocalFree(szArglist);
}
I cannot find in Python documentation if memory pointed by szArglist shall be preserved until Python is shutdown or i can free it immediately.
Can anybody put some light on this, please?
Thank you! Vladimir