Skip to content

Commit

Permalink
v2.2.6. Improvement.
Browse files Browse the repository at this point in the history
- v2.2.6 June 29, 2013
	- Added support for `.cmd` aliases on windows to `getPossibleExecPaths`
  • Loading branch information
balupton committed Jun 28, 2013
1 parent 01d80ee commit 67ebc4b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions History.md
@@ -1,5 +1,8 @@
## History

- v2.2.6 June 29, 2013
- Added support for `.cmd` aliases on windows to `getPossibleExecPaths`

- v2.2.5 June 29, 2013
- Split out possible exec path functionality from `getExecPath` to `getPossibleExecPaths(execName?)`
- Added support for `.bat` aliases on windows to `getPossibleExecPaths`
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "safeps",
"version": "2.2.5",
"version": "2.2.6",
"description": "Work with processes safely and easily with Node.js",
"homepage": "https://github.com/bevry/safefs",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/lib/safeps.coffee
Expand Up @@ -377,7 +377,7 @@ safeps =
standardExecPaths = safeps.getStandardExecPaths(execName)
possibleExecPaths = []
for standardExecPath in standardExecPaths
possibleExecPaths.push(standardExecPath, standardExecPath+'.exe', standardExecPath+'.bat')
possibleExecPaths.push(standardExecPath, standardExecPath+'.exe', standardExecPath+'.cmd', standardExecPath+'.bat')
else
# we are normal, try the paths
possibleExecPaths = safeps.getStandardExecPaths(execName)
Expand Down

0 comments on commit 67ebc4b

Please sign in to comment.