def __init__(self, process, stdout_file, stderr_file,
                 callback_stdout, callback_stderr, refresh_time,
                 data, store, signal, context):
        """ Initializes the reader for the process output.

        Args:
            process: Reference to a Popen object representing the running process.
            stdout_file: The file object for the standard output of the process.
            stderr_file: The file object for the standard error of the process.
            callback_stdout: The callback that should be called for every line of the
                standard output.
            callback_stderr: The callback that should be called for every line of the
                standard error.
            refresh_time (float): The time in seconds before checking for new output
                from the process.
            data (:class:`.MultiTaskData`): The data object that has been passed from the
                predecessor task.
            store (:class:`.DataStoreDocument`): The persistent data store object that allows the
                task to store data for access across the current workflow run.
            signal (TaskSignal): The signal object for tasks. It wraps the construction
                and sending of signals into easy to use methods.
            context (TaskContext): The context in which the tasks runs.
        """
        super().__init__()

        self._process = process
        self._stdout_file = stdout_file
        self._stderr_file = stderr_file
        self._callback_stdout = callback_stdout
        self._callback_stderr = callback_stderr
        self._refresh_time = refresh_time
        self._data = data
        self._store = store
        self._signal = signal
        self._context = context
        self._exc_obj = None
def __init__ ( self , process , stdout_file , stderr_file , callback_stdout , callback_stderr , refresh_time , data , store , signal , context ) : super ( ) . __init__ ( ) self . _process = process self . _stdout_file = stdout_file self . _stderr_file = stderr_file self . _callback_stdout = callback_stdout self . _callback_stderr = callback_stderr self . _refresh_time = refresh_time self . _data = data self . _store = store self . _signal = signal self . _context = context self . _exc_obj = None
Initializes the reader for the process output.

        Args:
            process: Reference to a Popen object representing the running process.
            stdout_file: The file object for the standard output of the process.
            stderr_file: The file object for the standard error of the process.
            callback_stdout: The callback that should be called for every line of the
                standard output.
            callback_stderr: The callback that should be called for every line of the
                standard error.
            refresh_time (float): The time in seconds before checking for new output
                from the process.
            data (:class:`.MultiTaskData`): The data object that has been passed from the
                predecessor task.
            store (:class:`.DataStoreDocument`): The persistent data store object that allows the
                task to store data for access across the current workflow run.
            signal (TaskSignal): The signal object for tasks. It wraps the construction
                and sending of signals into easy to use methods.
            context (TaskContext): The context in which the tasks runs.