Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "nyks", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "nodejs exupery style", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
var cp = require('child_process'); | ||
//child_process.exec only wait for console, this use process spawn | ||
cp.exec_window = function(cmd, args, callback){ | ||
cp.exec_window = function(cmd, args, callback, error){ | ||
var ps = cp.spawn(cmd, args); | ||
ps.on('close', callback); | ||
ps.on('error', error || function(){} ); | ||
} |
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
3929
76