aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/utils.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/utils.py b/modules/utils.py
index 4e779d8..c76b3fb 100644
--- a/modules/utils.py
+++ b/modules/utils.py
@@ -21,8 +21,9 @@ class CommandRunner(object):
def consume(self, command, directory):
"""
Run the given command in the given directory and print the stdout and
- stderr. If an exception is thrown while running the command, it will be
- rethrown as a RuntimeError.
+ stderr. If 'directory' is None, the current working directory is used.
+ If an exception is thrown while running the command, it will be rethrown
+ as a RuntimeError.
"""
try:
with Popen(command, stdout=PIPE, stderr=STDOUT, cwd=directory) as process: