Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(Recent Directory Name): DevWareX will use the selected Python environment in the next DevWareX restart.


Note: to restore `sys.argv`, you have to call `PySys_SetArgv`

Like they do here to fix a similar issue: https://github.com/KiCad/kicad-winbuilder/issues/60#issuecomment-403217392

Method documentation:
https://docs.python.org/3/c-api/init.html#c.PySys_SetArgv