Commit c86b3888 by Michael DeHaan

Strip trailing newlines from command module, which happens in some shell commands

parent 8d06c074
......@@ -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),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment