def start_parent():
while True:<EOL><INDENT>args = [sys.executable] + sys.argv<EOL>new_environ = environ.copy()<EOL>new_environ["<STR_LIT>"] = '<STR_LIT:yes>'<EOL>ret = subprocess.call(args, env=new_environ)<EOL>if ret != settings.CODE_RELOAD_EXIT:<EOL><INDENT>return ret<EOL><DEDENT><DEDENT>
Start the parent that will simply run the child forever until stopped.