Skip to content
This repository
Browse code

utils: suppress stdout in run_cmd

Signed-off-by: David Aguilar <davvid@gmail.com>
  • Loading branch information...
commit 642d42d23f68acf6e53a9d6bd020f57f0c10c261 1 parent 17428c8
David Aguilar authored September 20, 2008

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  cola/utils.py
4  cola/utils.py
@@ -42,7 +42,9 @@ def run_cmd(*command):
42 42
     """
43 43
     # Start the process
44 44
     try:
45  
-        proc = subprocess.Popen(command, stdout=subprocess.PIPE)
  45
+        proc = subprocess.Popen(command,
  46
+                                stdout=subprocess.PIPE,
  47
+                                stderr=subprocess.PIPE)
46 48
 
47 49
         # Wait for the process to return
48 50
         stdout_value = proc.stdout.read()

0 notes on commit 642d42d

Please sign in to comment.
Something went wrong with that request. Please try again.