Closed kdave closed 8 years ago
For now this should do: https://github.com/buckket/twtxt/commit/59c7aec517e03c516e682d449b1ba04c85a0e689
Maybe we should print stdout/stderr in case the return value is non-zero, as you suggested.
Works for me, thanks.
if post/pre _tweet_hook returns with nonzero code, print the stdout/stderr
Implemented.
post_tweet_hook = /bin/false followed by 'twxtxt tweet' succeeds, no messages. While the current semantics don't specify the behaviour, I'd expect that there should be some way how to get the feedback from the hooks. Possible semantics: