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

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