<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def restart_with_reloader(self):
 """Spawn a new Python interpreter with the same arguments as this one """

        while True:
            LOGGER.info('Restarting with %s reloader' % self.name)
            args = _get_args_for_reloading()
            new_environ = os.environ.copy()
            new_environ[PULSAR_RUN_MAIN] = 'true'
            exit_code = subprocess.call(args, env=new_environ, close_fds=False)
            if exit_code != EXIT_CODE:
                return exit_code