[Pkg-javascript-commits] [node-foreground-child] 17/69: switch to win-spawn

Bastien Roucariès rouca at moszumanska.debian.org
Fri Aug 25 11:43:02 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-foreground-child.

commit ad7ba1d4a84e8b199cbfb5d30e01e586390978cc
Author: Benjamin Coe <ben at npmjs.com>
Date:   Mon Sep 7 19:23:48 2015 -0700

    switch to win-spawn
---
 index.js      | 2 +-
 package.json  | 3 ++-
 test/basic.js | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/index.js b/index.js
index 316b0d2..d002c2e 100644
--- a/index.js
+++ b/index.js
@@ -1,5 +1,5 @@
 var signalExit = require('signal-exit')
-var spawn = require('child_process').spawn
+var spawn = require('win-spawn')
 
 module.exports = function (program, args, cb) {
   var arrayIndex = arguments.length
diff --git a/package.json b/package.json
index 22e5057..b790bbd 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,8 @@
     "test": "test"
   },
   "dependencies": {
-    "signal-exit": "^2.0.0"
+    "signal-exit": "^2.0.0",
+    "win-spawn": "^2.0.0"
   },
   "devDependencies": {
     "tap": "^1.2.1"
diff --git a/test/basic.js b/test/basic.js
index 51ac091..d8017a9 100644
--- a/test/basic.js
+++ b/test/basic.js
@@ -1,5 +1,5 @@
 var fg = require('../index.js')
-var spawn = require('child_process').spawn
+var spawn = require('win-spawn')
 var signalExit = require('signal-exit')
 
 if (process.argv[2] === 'child') {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-foreground-child.git



More information about the Pkg-javascript-commits mailing list