subprocess is always available now.
Fix to work with Python 3.
Use Python 3-compatible exec.
Fix typo.
Make relative import explicit.