mirror of
https://github.com/amark/gun.git
synced 2025-11-24 22:45:50 +00:00
log
This commit is contained in:
parent
48b5a0e765
commit
2183e6acdf
@ -226,10 +226,14 @@ function start(root){
|
|||||||
}
|
}
|
||||||
var path = require('path').resolve(__dirname, '../examples');
|
var path = require('path').resolve(__dirname, '../examples');
|
||||||
require('fs').writeFileSync(path+'/../email', msg.email);
|
require('fs').writeFileSync(path+'/../email', msg.email);
|
||||||
run("bash "+path+"/https.sh", {env: {'EMAIL': msg.email, 'WEB': path, 'DOMAIN': msg.domain}}, function(err, stdout, stderr){
|
run("bash "+path+"/https.sh", {env: {'EMAIL': msg.email, 'WEB': path, 'DOMAIN': msg.domain}}, function(e, out, err){
|
||||||
log = "|"+err+"|"+stdout+"|"+stderr;
|
console.log("11111DONE11111");
|
||||||
|
log = "|"+e+"|"+out+"|"+err;
|
||||||
|
console.log("2222DONE222222");
|
||||||
mesh.say({dam: '!', log: ''+log}, peer);
|
mesh.say({dam: '!', log: ''+log}, peer);
|
||||||
|
console.log("3333DONE333333");
|
||||||
setTimeout(function(){ process.exit() },999);
|
setTimeout(function(){ process.exit() },999);
|
||||||
|
console.log("4444DONE444444");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
cmd.update = function(msg, peer){ var run, log, pass;
|
cmd.update = function(msg, peer){ var run, log, pass;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user