better method of npm discovery and invocation
Popen is platform specific :'(