mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-24 00:21:18 +00:00
feature(spawnify) add
This commit is contained in:
parent
c70ad2d069
commit
b0a890cb93
2 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@
|
|||
update = require(DIR_SERVER + 'update'),
|
||||
socket = require(DIR_SERVER + 'socket'),
|
||||
find = require(DIR_SERVER + 'find'),
|
||||
pawn = require(DIR_SERVER + 'pawn'),
|
||||
spawnify = require(DIR_SERVER + 'spawnify'),
|
||||
|
||||
mainpackage = require(DIR_ROOT + 'package'),
|
||||
CLOUDCMD = mainpackage.name,
|
||||
|
|
@ -201,7 +201,7 @@
|
|||
}
|
||||
|
||||
function setSpawn(сommand, options, callback) {
|
||||
pawn(сommand, options, function(error, stdout, stderr) {
|
||||
spawnify(сommand, options, function(error, stdout, stderr) {
|
||||
var errorStr = '';
|
||||
|
||||
Util.log(error);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue