You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Remove NodeJS v0.10 and v0.12 support
- Change escaping on Windows to use `^` instead of quotes:
- Fix a bug that made it impossible to escape an argument that contained quotes followed by `>` or other special chars, e.g.: `"foo|bar"`, fixes#82
- Fix a bug were a command containing `%x%` would be replaced with the contents of the `x` environment variable, fixes#51
- Add a work around for a NodeJS bug when spawning a command with spaces when `options.shell` was enabled, fixes#77
- Fix `options` argument being mutated
- Remove support for running `echo` on Windows
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,23 @@
1
+
## 6.0.0 - 2017-11-10
2
+
3
+
- Remove NodeJS v0.10 and v0.12 support
4
+
- Change escaping on Windows to use `^` instead of quotes:
5
+
- Fix a bug that made it impossible to escape an argument that contained quotes followed by `>` or other special chars, e.g.: `"foo|bar"`, fixes [#82](https://github.com/IndigoUnited/node-cross-spawn/issues/82)
6
+
- Fix a bug were a command containing `%x%` would be replaced with the contents of the `x` environment variable, fixes [#51](https://github.com/IndigoUnited/node-cross-spawn/issues/51)
7
+
- Add a work around for a NodeJS bug when spawning a command with spaces when `options.shell` was enabled, fixes [#77](https://github.com/IndigoUnited/node-cross-spawn/issues/77)
8
+
- Fix shebangs not working when `options.shell` is enabled
9
+
- Fix `options` argument being mutated
10
+
- Remove support for running `echo` on Windows
11
+
12
+
13
+
## 5.1.1 - 2017-02-26
14
+
15
+
- Fix `options.shell` support for NodeJS [v4.8](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V4.md#4.8.0)
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ Node has issues when using spawn on Windows:
35
35
- It ignores [PATHEXT](https://github.com/joyent/node/issues/2318)
36
36
- It does not support [shebangs](http://pt.wikipedia.org/wiki/Shebang)
37
37
- No `options.shell` support on node `<v4.8`
38
-
-It does not allow you to run `del` or `dir`
38
+
-Has problems running commands with [spaces](https://github.com/nodejs/node/issues/7367) when `options.shell` is specified
39
39
40
40
All these issues are handled correctly by `cross-spawn`.
41
41
There are some known modules, such as [win-spawn](https://github.com/ForbesLindesay/win-spawn), that try to solve this but they are either broken or provide faulty escaping of shell arguments.
0 commit comments