equinor / camille

GNU General Public License v3.0
2 stars 13 forks source link

Calling Zephyre from Windows is failing #205

Closed arnerek closed 2 years ago

arnerek commented 3 years ago

The _get_token function should be changed to oauth2local .exe when used on Windows: https://github.com/equinor/camille/blob/2547e1d71b5905269de0f5717e680dd780ca4370/camille/source/zephyre.py#L61

arnerek commented 3 years ago

And also set creationflags=0x08000000 avoiding a Command Prompt window is launched every call to oauth2local:

https://stackoverflow.com/a/25124003