HWRF  trunk@4391
Public Member Functions | List of all members
produtil.prog.StreamGenerator Class Reference

This is part of the internal implementation of Runner, and is used to convert it to a produtil.pipeline.Pipeline for execution. More...

Detailed Description

This is part of the internal implementation of Runner, and is used to convert it to a produtil.pipeline.Pipeline for execution.

This is an abstract class whose subclasses create the Popen's stdout, stdin and stderr.

Definition at line 117 of file prog.py.

Inheritance diagram for produtil.prog.StreamGenerator:
produtil.prog.FileOpener produtil.prog.OutIsError produtil.prog.StreamReuser produtil.prog.StringInput

Public Member Functions

def for_input (self)
 Has no effect. More...
 
def for_output (self)
 Has no effect. More...
 
def repr_for_err (self)
 Returns the stderr value. More...
 

Member Function Documentation

def produtil.prog.StreamGenerator.for_input (   self)

Has no effect.

This exists only for debugging.

Definition at line 122 of file prog.py.

def produtil.prog.StreamGenerator.for_output (   self)

Has no effect.

This exists only for debugging.

Definition at line 125 of file prog.py.

def produtil.prog.StreamGenerator.repr_for_err (   self)

Returns the stderr value.

The default implementation returns repr_for_out(), causing stderr to receive whatever stdout receives.

Definition at line 128 of file prog.py.


The documentation for this class was generated from the following file: