[Scons-users] Is it possible to make Execute silent?

TOM TANNER (BLOOMBERG/ LONDON) ttanner2 at bloomberg.net
Tue Aug 7 08:14:03 EDT 2012


I hadn't, but it doesn't do anything.

I'm currently doing this:
mkdir = Scons.Action.ActionFactory(Scons.Defaults.mkdir_func, lambda dir : "")
env.Execute(mkdir("purify_cache"))

which is a bit hacky.


----- Original Message -----
From: Steve.Hill at aeroflex.com
To: scons-users at scons.org, TOM TANNER (BLOOMBERG/ LONDON)
At: 8/06 16:40:55

Have you tried env.Execute(Mkdir('something'), lambda target, source,
env: "")?

S.


> -----Original Message-----

> From: scons-users-bounces at scons.org

> [mailto:scons-users-bounces at scons.org] On Behalf Of TOM

> TANNER (BLOOMBERG/ LONDON)

> Sent: 06 August 2012 16:17

> To: scons-users at scons.org

> Subject: [Scons-users] Is it possible to make Execute silent?

>

> If I do at my top level SConstruct file

> env.Execute(Mkdir('something'))

>

> it always outputs Mkdir('something')

>

> This isn't really very informative, and I'd like to suppress

> it, but I can't see how at the moment.

>

> Any ideas

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>

Notice: This e-mail is intended solely for use of the individual or entity to which it is
addressed and may contain information that is proprietary, privileged, company confidential
and/or exempt from disclosure under applicable law. If the reader is not the intended
recipient or agent responsible for delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this communication is
strictly prohibited. If this communication has been transmitted from a U.S. location it may
also contain data subject to the International Traffic in Arms Regulations or U.S. Export
Administration Regulations and cannot be disseminated, distributed or copied to foreign
nationals, residing in the U.S. or abroad, without the prior approval of the U.S. Department
of State or appropriate export licensing authority. If you have received this communication
in error, please notify the sender by reply e-mail or collect telephone call and delete or
destroy all copies of this e-mail message, any physical copies made of this e-mail message
and/or any file attachment(s).





More information about the Scons-users mailing list