# Class k.t.WaitForProcess(WaitCondition):

Part of kiwi.tasklet View In Hierarchy

An object that waits for a process to end

Method | __init__ | Creates an object that waits for a subprocess.
Method | arm | See `WaitCondition.arm`
Method | disarm | See `WaitCondition.disarm`
Method | _child_cb | Undocumented

def __init__(self, pid):
overrides kiwi.tasklet.WaitCondition.__init__
Creates an object that waits for a subprocess.

Parameters | pid | Process identifier (type: int )

def arm(self, tasklet):
overrides kiwi.tasklet.WaitCondition.arm
See `WaitCondition.arm`

def disarm(self):
overrides kiwi.tasklet.WaitCondition.disarm
See `WaitCondition.disarm`

def _child_cb(self, unused_pid, status):
Undocumented