diff options
Diffstat (limited to 'framework/core.py')
-rw-r--r-- | framework/core.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/framework/core.py b/framework/core.py index 3807cf96..6a3b97a3 100644 --- a/framework/core.py +++ b/framework/core.py @@ -395,7 +395,11 @@ class Environment: def run(self, command): try: p = subprocess.Popen( - command, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + command, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE, + universal_newlines=True + ) (stdout, stderr) = p.communicate() except: return "Failed to run " + command |