def create_interactive_command_server(self):
    if self._instance_factory.SUPPORTS_INTERACTIVE_REQUESTS:
      return InteractiveCommandServer(self._server_configuration,
                                      self._host,
                                      self._balanced_port,
                                      self._api_port,
                                      self._auth_domain,
                                      self._runtime_stderr_loglevel,
                                      self._php_executable_path,
                                      self._enable_php_remote_debugging,
                                      self._python_config,
                                      self._cloud_sql_config,
                                      self._default_version_port,
                                      self._port_registry,
                                      self._request_data,
                                      self._dispatcher,
                                      self._use_mtime_file_watcher,
                                      self._allow_skipped_files)
    else:
      raise NotImplementedError('runtime does not support interactive commands')
Returns a InteractiveCommandServer that can be sent user commands.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/server.py/Server.create_interactive_command_server