[Gllug] Attach a command to run on completion of another process

Tom Schutzer-Weissmann trmsw at yahoo.co.uk
Wed Feb 28 14:23:32 UTC 2007


If I'm  running a long compile process I sometimes do this:

~$ make && yay || oops

Where yay makes a happy sound and oops makes an unhappy one. Occasionally I 
forget, or I start a process I realise is going to take longer than 
anticipated. Is there a way to attach new commands to the outcome of one 
already running?

Thanks
Tom SW
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list