Skip to content

Commit

Permalink
Fix issue #58 (CRLF line endings) & index.js cwd(), thanks @wvillegasm !
Browse files Browse the repository at this point in the history
  • Loading branch information
darkguy2008 committed Jun 15, 2017
1 parent 9abd3f6 commit 746e1f3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### v3.0.1
- [#58](https://github.com/keithamus/parallelshell/issues/58) Fix CRLF
problem not allowing parallelshell to start up (shame on me!).
([@darkguy2008](https://github.com/darkguy2008))

### v3.0.0
- [#56](https://github.com/keithamus/parallelshell/issues/56)
[#57](https://github.com/keithamus/parallelshell/issues/57) Fix problem
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ cmds.forEach(function (cmd) {
cmd = "exec "+cmd;
}
var child = spawn(sh,[shFlag,cmd], {
cwd: process.cwd,
cwd: process.cwd(),
env: process.env,
stdio: ['pipe', process.stdout, process.stderr]
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "parallelshell",
"version": "3.0.0",
"version": "3.0.1",
"description": "Invoke multiple commands, running in parallel",
"homepage": "https://github.com/keithamus/parallelshell",
"repository": {
Expand Down

0 comments on commit 746e1f3

Please sign in to comment.