After installing ack on Windows 7 64-bit (e.g. using StrawberryPerl), I can run ack from a cmd terminal in Windows.
However, if I try using ack in Emacs in Shell mode (i.e. in a M-x shell
buffer), I get not output (all other cmd commands print correctly though).
Interestingly, if I run ack alone - i.e. with no arguments-, I get the ack usage information printed correctly. In other words, ack prints no output in my Emacs shell when I run it with arguments (even though ack should print hits for my queries, as I have checked under cmd).
The lack of output makes me think that ack is waiting for input (although I provide arguments to it). I tried the code snippet suggested here in my .emacs file (which seems to be designed to help ack when it's confused between searching in the file system or STDIN), but the problem still persists.
Any suggestions on how to fix this?
Thanks