diff --git a/command b/command index 3c74cc03b3d..7413db7b94e 100755 --- a/command +++ b/command @@ -64,8 +64,8 @@ if err is None: err = '' result = { - "stdout" : out, - "stderr" : err, + "stdout" : out.strip(), + "stderr" : err.strip(), "rc" : cmd.returncode, "start" : str(startd), "end" : str(endd),