amoffat/pbs — pull request #20 by simplyarjen (2012-01-31 20:33:17+00:00)
Title: Add support for redirection of standard output and error streams

I often find it useful in scripts to redirect the output of some commands to a file, as in "ls > files.txt". This commit adds simple redirection support through keyword arguments _out and _err to PBS. It also includes an _err_to_out keyword argument to redirect stderr to stdout (useful when commands mix output to both).