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:
parent
1e1df4b874
commit
0673236ae2
3 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue