Blender Git Loki

Git Commits -> Revision 04c5471

Revision 04c5471 by Campbell Barton (master)
October 28, 2020, 00:49 (GMT)
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`.

Commit Details:

Full Hash: 04c5471ceefb41c9e49bf7c86f07e9e7b8426bb3
Parent Commit: bee5921
Lines Changed: +22, -35

3 Modified Paths:

/release/scripts/modules/sys_info.py (+2, -2) (Diff)
/source/blender/python/intern/bpy_app.c (+5, -28) (Diff)
/source/blender/python/intern/bpy_interface.c (+15, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021