code: def spawn_process(self, process=None):
          
          if process is None:
              return False
          # start new child process
          pid = fork()
          if pid != 0:
              # parent process
              process.pid = pid
              self.PROCESSES[process.process_id] = process
              connections.close_all()
              return True
          # child process
          process.pid = getpid()
          # connection.connection.close()
          # connection.connection = None
          process.pre_init_process()
          process.init_process()
          process.run()
          sys.exit(0)
docs: spawn a new process