On Thu, 17 Apr 2014 15:08:50 +0200
git_AT_suckless.org wrote:
> Add respawn
A truly genius program!
Take this example[0], which is very complex and difficult to solve
using initrd/upstart (Yuck!).
Doing this in the shell using respawn makes this trivial:
%PROGRAM% || respawn %PROGRAM% (only respawn on exit-code 0)
%PROGRAM% && respawn %PROGRAM% (only respawn on exit-code 1)