From 159041928d34a0bc49f9646358af6472debcdb8a Mon Sep 17 00:00:00 2001 From: Wenyi Kuang Date: Mon, 27 Nov 2023 19:05:08 -0700 Subject: [PATCH] Add classic flag to openstudio calling. --- app/app/main/measureManagerService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app/main/measureManagerService.js b/app/app/main/measureManagerService.js index b73fb75f..7d3c3699 100644 --- a/app/app/main/measureManagerService.js +++ b/app/app/main/measureManagerService.js @@ -71,7 +71,7 @@ export class MeasureManager { vm.$log.info('Measure Manager port: ', vm.port); vm.$log.info('Start Measure Manager Server: ', vm.cliPath, ' measure -s ', vm.port); - vm.cli = vm.spawn(vm.cliPath, ['measure', '-s', vm.port]); + vm.cli = vm.spawn(vm.cliPath, ['classic', 'measure', '-s', vm.port]); vm.cli.stdout.on('data', (data) => { // record errors if (data.indexOf('<0>') !== -1) {