def getLastReturnCode(): if SCRIPT_SUPPORT: return ScriptingSupport.getLastReturnCode() else: return Runner.getLastReturnCode()