From 8deb123a48ded9cd888d1e63f88930680b2f3417 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Cruz?= Date: Sun, 30 Oct 2016 22:09:15 +0000 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 87a3e6a..dde730d 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Node has issues when using spawn on Windows: - It ignores [PATHEXT](https://github.com/joyent/node/issues/2318) - It does not support [shebangs](http://pt.wikipedia.org/wiki/Shebang) -- No `options.shell` support on node < 6 +- No `options.shell` support on node < v6 - It does not allow you to run `del` or `dir` All these issues are handled correctly by `cross-spawn`. @@ -61,7 +61,7 @@ var results = spawn.sync('npm', ['list', '-g', '-depth', '0'], { stdio: 'inherit Starting from node v6, `spawn` has a `shell` option that allows you run commands from within a shell. This new option solves most of the problems that `cross-spawn` attempts to solve, but: -- It's not supported in node < 6 +- It's not supported in node < v6 - It has no support for shebangs on Windows - You must manually escape the command and arguments which is very error prone, specially when passing user input