child_process-remote
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "child_process-remote", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "child_process spawn over TCP", | ||
@@ -5,0 +5,0 @@ "main": "spawn.js", |
@@ -35,3 +35,3 @@ "use strict"; | ||
var child = spawn(data.cmd, data.args); | ||
var child = spawn(...data.query); | ||
@@ -53,4 +53,6 @@ var payload = { type : 'pid', pid : child.pid }; | ||
child.stdout.pipe(remotestdout); | ||
child.stderr.pipe(remotestderr); | ||
if(child.stdout) | ||
child.stdout.pipe(remotestdout); | ||
if(child.stderr) | ||
child.stderr.pipe(remotestderr); | ||
} | ||
@@ -57,0 +59,0 @@ } |
@@ -18,3 +18,3 @@ "use strict"; | ||
return function(cmd, args) { | ||
return function(...query) { | ||
@@ -32,3 +32,3 @@ const multi = multiplex(); | ||
var payload = { cmd, args }; | ||
var payload = {query}; | ||
debug('Send payload', payload); | ||
@@ -35,0 +35,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
6828
105
3