Module APCScheduler :: Class Process
[hide private]
[frames] | no frames]

Class Process

source code


Safe process method wait() no

Instance Methods [hide private]
 
__init__(self, cmd, stdout='', stderr='')
The parameter 'cmd' is the shell command to execute in a sub-process.
source code
 
_ExaminePoll(self)
Call when process finish
source code
 
_updateStatus(self)
update status, no return
source code
 
isAlive(self) source code
 
isFinish(self) source code
 
isOk(self) source code
 
_wait(self) source code
 
wait(self, TimeOut=-1)
Wait for and return the exit status of the child process.
source code
 
_readFile(self, nameFile) source code
 
_retrieveOut(self) source code
 
_retrieveErr(self) source code
 
stdOut(self) source code
 
stdErr(self) source code
 
getExitValue(self) source code
 
getStatus(self) source code

Inherited from popen2.Popen3: __del__, poll

Inherited from popen2.Popen3 (private): _run_child

Class Variables [hide private]

Inherited from popen2.Popen3: sts

Method Details [hide private]

__init__(self, cmd, stdout='', stderr='')
(Constructor)

source code 

The parameter 'cmd' is the shell command to execute in a sub-process. On UNIX, 'cmd' may be a sequence, in which case arguments will be passed directly to the program without shell intervention (as with os.spawnv()). If 'cmd' is a string it will be passed to the shell (as with os.system()). The 'capturestderr' flag, if true, specifies that the object should capture standard error output of the child process. The default is false. If the 'bufsize' parameter is specified, it specifies the size of the I/O buffers to/from the child process.

Overrides: popen2.Popen3.__init__
(inherited documentation)

wait(self, TimeOut=-1)

source code 

Wait for and return the exit status of the child process.

Overrides: popen2.Popen3.wait
(inherited documentation)