Get rid of convuluted output redirection and just pass stdout/stderr to the command.execute.
Merge pull request #39 from jaap3/issue-31

Get rid of output redirection and pass stdout/stderr to command.execute.