Was looking at a tape + tap video and tried to get it to work.
OS: Windows 7
Git Bash Shell
node main.js | ./node_modules/.bin/tap-spec
st
Just to add my case, I was facing similar issue. Neither solution of using winpty did help, thus I used different hint on using node.exe
instead of node
when running a script (from Git bash in my case).
not working:
node myscript.js < some-input.txt > some-output.txt
working:
node.exe myscript.js < some-input.txt > some-output.txt