Process buffer: Self-close when there's no output

Since sometimes you just want to issue silent one-off
commands, e.g. mkdir etc.