#1704: redirect stdout and stderr of all processes if requested (also of the root process) --------------------------+------------------------------------------------- Reporter: knarf | Owner: knarf Type: enhancement | Status: review Priority: optional | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by rhaas):
I am happy with adding a -R option. One minor issue: The implementation introduces magic numbers for {{{requested_stdXXX_redirection}}} (it distinguishes 0,1, >1). It may be better to either use an enum or #defines for this. The {{{ if(requested_stdout_redirection) }}} kind of checks would then become (assuming the do-not-redirect value is called redirect_none) {{{ if(requested_stdout_redirection != redirect_none) }}}