summaryrefslogtreecommitdiff
path: root/tools/patman/gitutil.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-15 10:42:03 +0000
committerSimon Glass <sjg@chromium.org>2013-04-04 14:04:33 -0700
commit71162e3cae29832192497d4a1b966336b638df01 (patch)
tree65094dc14dcd7068d29f71429a3f5442975661f1 /tools/patman/gitutil.py
parent43bca004d698a2c6f457b32efeaa796e7751a72b (diff)
patman: Add cros_subprocess library to manage subprocesses
This adds a new library on top of subprocess which permits access to the subprocess output as it is being generated. We can therefore give the illusion that a process is running independently, but still monitor its output so that we know what is going on. It is possible to display output on a terminal as it is generated (a little like tee). The supplied output function is called with all stdout/stderr data as it arrives. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/gitutil.py')
0 files changed, 0 insertions, 0 deletions