Better `exec()` detection. Avoids esky build `NameError`.
Merge pull request #8542 from s0undt3ch/0.17

Better `exec()` detection. Avoids esky build `NameError`.