http://xstarcd.github.io/wiki/shell/exec_redirect.html