diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-10-29 01:33:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-10-29 03:22:39 +0300 |
commit | 52b38d9c3d84485385d5bc2e58f16c5acfaca9b7 (patch) | |
tree | 30ec34f5ddcc9a59459df9710c0e763e2d3f1558 /source/blender/editors/space_view3d/view3d_view.c | |
parent | 911f9e00d13c57fb093b7ba7b930a340aa0a79a9 (diff) |
PyAPI: point sys.executable to the Python binary
`sys.executable` is documented to be a Python interpreter or None.
This was set to Blender's executable which caused the multiprocessing
module to spawn new instances of Blender instead of Python on WIN32.
See issue described in D7815.
Deprecate 'bpy.app.binary_path_python' & warn when using.
Blender's executable remains accessible via `bpy.app.binary_path`.
Modified 04c5471ceefb4, setting `sys.executable` instead of using
Py_SetProgramName, which is needed for a bundled Python installation.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_view.c')
0 files changed, 0 insertions, 0 deletions