Package qm :: Package test :: Package classes :: Module process_target :: Class ProcessTarget :: Class QMTestExecutable
[hide private]
[frames] | no frames]

Class QMTestExecutable
source code

           object --+    
                    |    
executable.Executable --+
                        |
                       QMTestExecutable

A 'QMTestExecutable' redirects commands to a child process.

Instance Methods [hide private]
  _InitializeParent(self)
Initialize the parent process.
  _InitializeChild(self)
Initialize the child process.

Inherited from executable.Executable: Kill, Run, Spawn

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


Class Variables [hide private]

Inherited from object: __class__


Method Details [hide private]

_InitializeParent(self)

source code 

Initialize the parent process.

Before spawning the child, this method is invoked to give the parent a chance to initialize itself.

returns -- Under Windows, a 'PySTARTUPINFO' structure explaining how the child should be initialized. On other systems, the return value is ignored.
Overrides: executable.Executable._InitializeParent
(inherited documentation)

_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.

This method is not used under Windows.
Overrides: executable.Executable._InitializeChild
(inherited documentation)