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

Class CompilerExecutable

source code

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

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

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

Inherited from executable.RedirectedExecutable (private): _ClosePipeEnd, _CreatePipe, _DoParent, _HandleChild, _InitializeParent, _ReadStderr, _ReadStdout, _StdoutPipe, _WriteStdin

Inherited from executable.TimeoutExecutable: Run, __init__

Inherited from executable.Executable: Kill, Spawn

Inherited from executable.Executable (private): _CreateCommandLine, _GetChildPID

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

Properties [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.Executable._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