Use exit library on Windows

Commit 541b19a5a265c84527cf80464df2d830135cae91 seems to have broken the setting view's ability to launch `apm` command and receive the correct output on Windows 7.

After some research this appears to be a common problem and there is a useful node library to fix it.

https://github.com/cowboy/node-exit