1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Fixed Windows Service Start

This commit is contained in:
Ylian Saint-Hilaire 2019-07-23 14:09:44 -07:00
parent 1e1df4b874
commit 0673236ae2
3 changed files with 5 additions and 5 deletions

View file

@ -157,7 +157,7 @@ function CreateMeshCentralServer(config, args) {
for (i in process.argv) {
if (i > 0) {
var arg = process.argv[i];
if ((arg.length > 0) && ((arg.indexOf(' ') >= 0) || (arg.indexOf('&') >= 0))) { startArgs.push('"' + arg + '"'); } else { startArgs.push(arg); }
if ((arg.length > 0) && ((arg.indexOf(' ') >= 0) || (arg.indexOf('&') >= 0))) { startArgs.push(arg); } else { startArgs.push(arg); }
}
}
startArgs.push('--launch', process.pid);