Switch back to BufferedProcess

But, use a bash shell, and write directly to stdin.
Add specs

Needed refactoring to test properly