2014-07-14 17:25 GMT+06:00 the <the.guard@mail.ru>:-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
If I understand you correctly this can be done with bash like:
On 07/14/14 14:52, Andrew Lowe wrote:
> Hi all, I have a laptop churning away in the loungeroom doing an
> "emerge -NuD world" whilst I'm in my office, amongst other things
> composing this email. If my world update fails, I won't know until
> I look at the screen in the other room. Is there a way to get
> emerge to play a song depending upon the status of the emerge
> build?
emerge <...> || play alert.mp3
TC wants to select, which song to play on result of emerge.