fixed windows rigctld list command

This commit is contained in:
dj2ls 2022-10-04 10:55:42 +02:00
parent 4e9cdd2548
commit 1dbcfc672e

View file

@ -829,7 +829,7 @@ ipcMain.on('request-check-rigctld',(data)=>{
try { try {
if(os.platform()=='win32' || os.platform()=='win64'){ if(os.platform()=='win32' || os.platform()=='win64'){
var state = exec('tasklist', ['/svc', '/FI', 'ImageName eq rigctld*']) var state = exec('tasklist', ['/svc', '/FI', '"ImageName eq rigctld*"'])
state.on('close', function(code) { state.on('close', function(code) {
if(code == 0){ if(code == 0){
let Data = { let Data = {