Code:
calibre-debug -c "from calibre.parallel import WorkerMother; m = WorkerMother(); print m.executable; print m.env"
Code:
pensieve:~ XenoPhage$ calibre-debug -c "from calibre.parallel import WorkerMother; m = WorkerMother(); print m.executable; print m.env"
/Applications/calibre.app/Contents/console.app/Contents/MacOS/python
{'DYLD_LIBRARY_PATH': '/Applications/calibre.app/Contents/console.app/Contents/Frameworks/ImageMagick/lib', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Applications/calibre.app/Contents/console.app/Contents/Frameworks', 'PYTHONHOME': '/Applications/calibre.app/Contents/console.app/Contents/Resources', 'MAGICK_HOME': '/Applications/calibre.app/Contents/console.app/Contents/Frameworks/ImageMagick'}