Part of pida.utils.gthreads View In Hierarchy
A Generator Task for launching a subprocess
An example (inside thread_inited gtk main loop):
def output(line):
print line
task = GeneratorSubprocessTask(output)
task.start(['ls', '-al'])
Split Table into Classes Show Methods in One Table
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 136 | Method | __init__ | Undocumented |
| 140 | Method | start_process | Undocumented |
| 151 | Method | stop | Undocumented |
Inherited from GeneratorTask:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 113 | Method | _work_callback | Undocumented |
Inherited from AsyncTask (via GeneratorTask):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 57 | Method | start | Please note that start is not thread safe. It is assumed that this |
| 66 | Method | work_callback | Undocumented |
| 69 | Method | loop_callback | Undocumented |
| 76 | Method | _loop_callback | Undocumented |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 136 | Method | __init__ | Undocumented |
| 76 | Method | _loop_callback | Undocumented |
| 113 | Method | _work_callback | Undocumented |
| 69 | Method | loop_callback | Undocumented |
| 57 | Method | start | Please note that start is not thread safe. It is assumed that this |
| 140 | Method | start_process | Undocumented |
| 151 | Method | stop | Undocumented |
| 66 | Method | work_callback | Undocumented |