Does anyone have any understanding why running a subprocess in python
"gam whatis usernametest" would generate this subprocess error
ERROR: [WinError 5] Access is denied: 'C:\\Windows\\system32\\config\\systemprofile\\.gam'
There is no such thing as .gam
-- I created a user to run the flask app and gave it group ownership of both GAM and the IIS
-- I logged in as that user to create a profile
-- I made that user an administrator.
-- I copied over the working .gam folder in the users home directory.
-- Starting GAM processing of whatis dierktest - ['C:\\Program Files\\GAM\\gam.exe', 'whatis', 'dierktest']
env[path] - C:\Program Files\GAM\gam.exe;C:\Python38\Scripts\;C:\Python38\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\GAM\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsAppsC:\Program Files\GAM\gam.exe;C:\Program Files\GAM\gam.exe;C:\Program Files\GAM\gam.exe;
ERROR: [WinError 5] Access is denied: 'C:\\Windows\\system32\\config\\systemprofile\\.gam'