Waitfor
Tuesday, January 9th, 2007I started a revdep-rebuild (rebuilds all packages that depends on a library) last night, which started building GCC… The dreaded GCC build takes a few hours on my machine, and I wanted to start another emerge which would build during the night… So I would either sit and wait for the build to finish, or build a program that would wait for a certain PID to exit before it exits itself. I also realised that I could easily add an option to wait a certain time before exiting, and then exit. This became Waitfor.
I should add the option to receive the PID:s exit signal as the waitfor exit signal, to enable smarter scripting. That will be 0.2 :)