textmate/dialog — pull request #17 by rdwampler (2014-11-17 05:10:43+00:00)
Title: Write to stderr if «token» does not exist when calling `nib update`

Ideally, `"$DIALOG"` should return an non-zero error code in these situations, but since there is no mechanism for that currently, checking if the command failed by examining stderr is probably the best (quick) solution right now. Looking at the code as is, I guess we could change `(void)handleCommand:(CLIProxy*)proxy` to return an `int` and propagate it all the way up the call chain. Thoughts?