bevry/safeps — pull request #5 by pflannery (2014-07-10 21:02:49+00:00)
Title: Ensures windows extention less spawns run as .cmd

Updated version with a major to 3.0.0

This merge defaults all extension less command lines to spawn using '.cmd' instead of the default '.exe'.
This gives windows users the ability to run commands like ```npm init``` and other npm package cmd's without having to write the extension just like linux and mac users enjoy using shebangs.

It's a pain that every time we want to run a command in node on windows we have to fiddle the command line when it's not an .exe file. It just adds annoying complexity to our cross-os-compatible scripts.

By creating .cmd wrappers for exe's and placing them in a common path (i.e. %userprofile%\appdata\roaming\npm\) they too can be run without specifying the ext. so this change seems the logical choice to me.

will fix chainyjs/rchainy-cli#4