Package ClusterShell :: Package Worker :: Module Popen :: Class WorkerPopen
[hide private]
[frames] | no frames]

Class WorkerPopen

source code


Implements the Popen Worker.

Instance Methods [hide private]
 
__init__(self, command, key=None, handler=None, stderr=False, timeout=-1, autoclose=False)
Initialize Popen worker.
source code
 
retcode(self)
Return return code or None if command is still in progress.
source code

Inherited from Worker.WorkerSimple: error, error_fileno, last_error, last_read, reader_fileno, writer_fileno

Inherited from Worker.WorkerSimple (private): _on_rc, _on_start, _on_written

Inherited from Worker.StreamWorker: abort, read, set_key, set_reader, set_write_eof, set_writer, write

Inherited from Worker.Worker: did_timeout, flush_buffers, flush_errors

Inherited from Worker.Worker (private): _set_task, _task_bound_check

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

Class Variables [hide private]

Inherited from Worker.Worker: SNAME_STDERR, SNAME_STDIN, SNAME_STDOUT

Instance Variables [hide private]

Inherited from Worker.Worker: current_errmsg, current_msg, current_node, current_rc, current_sname, eh, started, task

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, command, key=None, handler=None, stderr=False, timeout=-1, autoclose=False)
(Constructor)

source code 

Initialize Popen worker.

Overrides: object.__init__