[ET Trac] [Einstein Toolkit] #1704: redirect stdout and stderr of all processes if requested (also of the root process)

Einstein Toolkit trac-noreply at einsteintoolkit.org
Mon Dec 29 10:25:05 CST 2014


#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)
 }}}

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1704#comment:12>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list