OpenModelica / OpenModelicaLibraryTesting

Test script for OMCompiler+OpenModelicaLibraries
Other
9 stars 13 forks source link

Use sys.executable instead of "python" #68

Closed AnHeuermann closed 8 months ago

AnHeuermann commented 8 months ago

Fixes #67.

A string giving the absolute path of the executable binary for the Python interpreter, on systems where this makes sense. If Python is unable to retrieve the real path to its executable, sys.executable will be an empty string or None.

I hope there aren't many systems where sys.executable isn't set. But if so try "python".