How can I add a code that is always executed by Waf before exit?

Posted by Sorin Sbarnea on Stack Overflow See other posts from Stack Overflow or by Sorin Sbarnea
Published on 2010-03-26T11:16:18Z Indexed on 2010/03/26 15:13 UTC
Read the original article Hit count: 178

Filed under:
|

I want to make Waf generate a beep when it finishes the execution of any command that took more than 10 seconds.

I don't know how do add this and assure that the code executes when Waf exits.

This should run for any Waf command not only build.

I checked the Waf book but I wasn't able to find any indication about how should I do this.

© Stack Overflow or respective owner

Related posts about python

Related posts about waf