[Scons-users] Controlling output

Tom Tanner (BLOOMBERG/ LONDON) ttanner2 at bloomberg.net
Mon Jun 16 05:21:47 EDT 2014


If the Action is a shell function you can prefix it with a '@', like normal make. Which doesn't work so well if it's not a simple command line (or array thereof).

Not that I'm totally enamoured of this approach, but it does work

----- Original Message -----
From: scons-users at scons.org
To: scons-users at scons.org
At: Jun 14 2014 21:57:11

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
_______________________________________________
Scons-users mailing list
Scons-users at scons.org
http://four.pairlist.net/mailman/listinfo/scons-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140616/1d319275/attachment.html>


More information about the Scons-users mailing list