Package qm :: Package test :: Package classes :: Module compiler :: Class CompilerExecutable
[hide private]
[frames] | no frames]

Class CompilerExecutable
source code

              object --+            
                       |            
              Executable --+        
                           |        
           TimeoutExecutable --+    
                               |    
 executable.RedirectedExecutable --+
                                   |
                                  CompilerExecutable

A 'CompilerExecutable' is a 'Compiler' that is being run.

Instance Methods [hide private]
  _InitializeChild(self)
Initialize the child process.
  _StdinPipe(self)
Return a pipe to which to redirect the standard input.
  _StderrPipe(self)
Return a pipe to which to redirect the standard input.

Inherited from executable.TimeoutExecutable: Run, __init__

Inherited from executable.Executable: Kill, Spawn

Inherited from executable.Executable (private): _GetChildPID

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Class Variables [hide private]

Inherited from object: __class__


Method Details [hide private]

_InitializeChild(self)

source code 

Initialize the child process.

After 'fork' is called this method is invoked to give the child a chance to initialize itself. '_InitializeParent' will already have been called in the parent process.
Overrides: executable.RedirectedExecutable._InitializeChild

_StdinPipe(self)

source code 

Return a pipe to which to redirect the standard input.

returns -- A pipe, or 'None' if the standard input should be closed in the child.
Overrides: executable.RedirectedExecutable._StdinPipe

_StderrPipe(self)

source code 

Return a pipe to which to redirect the standard input.

returns -- A pipe, or 'None'. If 'None' is returned, but '_StdoutPipe' returns a pipe, then the standard error and standard output will both be redirected to that pipe. However, if '_StdoutPipe' also returns 'None', then the standard error will be closed in the child.
Overrides: executable.RedirectedExecutable._StderrPipe