Пример #1
0
    def reset(self):
        DefaultDriver.reset(self)

        self._script_command_line = []
        self._script_standard_input = []

        self._script_status = 0

        # this is opened by the close() method and read by output
        # from self._script_name.xout

        self._output_file = None
Пример #2
0
    def __init__(self):
        super(DefaultClusterDriver, self).__init__()

        if os.name != "posix":
            raise RuntimeError('os "%s" not supported' % os.name)

        DefaultDriver.__init__(self)

        self._script_command_line = []
        self._script_standard_input = []

        self._script_name = self._name

        self._script_status = 0

        # this is opened by the close() method and read by output
        # from self._script_name.xout

        self._output_file = None
Пример #3
0
  def __init__(self):
    DefaultDriver.__init__(self)

    self._popen = None