mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-26 13:13:17 +00:00
Updated metadata handling
This commit is contained in:
@@ -56,6 +56,7 @@ function childContainer()
|
||||
set: function (v)
|
||||
{
|
||||
if (this._client) { this._client.descriptorMetadata = v; }
|
||||
if (this._proc) { this._proc.descriptorMetadata = v; }
|
||||
}
|
||||
});
|
||||
ret._ipc = require('net').createServer(); ret._ipc.parent = ret;
|
||||
@@ -164,6 +165,7 @@ function childContainer()
|
||||
}
|
||||
}
|
||||
ret._proc = require('child_process').execFile(process.execPath, [process.execPath.split(process.platform == 'win32' ? '\\' : '/').pop(), '-b64exec', script], child_options);
|
||||
ret._proc.descriptorMetadata = "child-container";
|
||||
ret._proc.parent = ret;
|
||||
ret._proc.stdout.on('data', function (c) { });
|
||||
ret._proc.stderr.on('data', function (c) { });
|
||||
|
||||
@@ -64,7 +64,7 @@ function dispatch(options)
|
||||
this.parent._client._parent = this;
|
||||
this.close();
|
||||
var d, h = Buffer.alloc(4);
|
||||
s.descriptorMetadata = 'win-dispatcher';
|
||||
s.descriptorMetadata = 'win-dispatcher, ' + this.parent.options.launch.module + '.' + this.parent.options.launch.method + '()';
|
||||
|
||||
for (var m in this.parent.options.modules)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user