Permalink
Browse files

Update readme

  • Loading branch information...
bneijt committed Aug 20, 2014
1 parent 700f4d1 commit 6153a009bf3500998fdf89e8d06b4fad809ab59e
Showing with 11 additions and 1 deletion.
  1. +11 −1 README.md
@@ -5,6 +5,16 @@ After

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)
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

with `--pid` you can also use the pid:

sleep 20 & BG=$!
after --pid $BG; echo Done sleeping

0 comments on commit 6153a00

Please sign in to comment.