| Home | Trees | Index | Help |
|---|
| Package tp :: Package client :: Module killableprocess :: Class Popen |
|
object--+ |Popen--+ | Popen
| Method Summary | |
|---|---|
__init__(self,
*args,
**kwargs)
| |
Kill the process. | |
Wait for the process to terminate. | |
| Inherited from Popen | |
| |
Interact with process: Send data to stdin. | |
| |
Send a signal to the process... | |
Terminate the process with SIGTERM... | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
| Method Details |
|---|
kill(self, group=True)Kill the process. If group=True, all sub-processes will also be killed.
|
wait(self, timeout=-1, group=True)Wait for the process to terminate. Returns returncode attribute. If timeout seconds are reached and the process has not terminated, it will be forcefully killed. If timeout is -1, wait will not time out.
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Fri Jan 1 08:00:25 2010 | http://epydoc.sf.net |