[Scons-users] Controlling output

Russell, J.J. russell at slac.stanford.edu
Sat Jun 14 16:32:49 EDT 2014


I know one can control the output for individual builders via the $COMSTR variables and, can turn them off globally, via the —silent or one of its equivalent command line options. 

However, is there a way to silence individual commands.  I’ve tried returning a variety of things, like None, or empty strings, even ‘\r’ in the COMSTR variables, but this has resulted in SCons printing its default string or an empty line. (I have certain custom builders whose output is of no particular interest and just adds noise to the output.)

Also somewhat curious why one cannot set the ’silent’ option via the SetOption function.




JJRussell


More information about the Scons-users mailing list