changed the exit handling
Merge pull request #749 from Bonuspunkt/master

Problems with piping on windows