Simple program that will exit when another program exits (by polling /proc
).
It makes it easy to retroactively schedule a command after another command
has started (without using Ctrl-Z
, fg; new command
)
Usage
sleep 1m &
after sleep; echo Done sleeping