call the function os.spawnve with os.P_WAIT, sys.executable, args and new_environ as arguments, substitute the result for exit_code.
exit_code = os . spawnve ( os . P_WAIT , sys . executable , args , new_environ )