Re: pre-commit hook and Aspell
- From
Jeff King <peff@peff.net>
- Date
- Jul 30, 2010, 18:21 UTC
- Message-ID
- <20100730182116.GA18544@coredump.intra.peff.net>
- In-Reply-To
- <4C529290.7040509@zbh.uni-hamburg.de>
On Fri, Jul 30, 2010 at 10:51:28AM +0200, Stefan Bienert wrote:
Show 5 quoted lines
> I'm trying to setup a hook for my project which forces me to check the > spelling of text (here: TeX) files, whenever they change. As > spellchecker I use Aspell, which is giving me a headache at the moment. > The problem is: Running the pre-commit script in the shell works, > started as hook does not.
Hooks run without stdio connected to the tty. Have you tried doing "aspell </dev/tty >/dev/tty" in your hook?
-Peff