[Scons-users] make Command Builder not print command

Daniel Moody dmoody256 at gmail.com
Tue Mar 5 19:30:14 EST 2019


How can I make a Command() that doesn't print the command, or print my own
string instead? I don't want to use silent or -Q because I only want this
command to be printed.

For example

env = Environment()
env.Command('file.out', 'file.in', 'cat $SOURCE > $TARGET')

results in:

scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
cat file.in > file.out
scons: done building targets.

I just want:

scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: done building targets.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20190305/bcb7e805/attachment.html>


More information about the Scons-users mailing list