mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed windows rigctld list command
This commit is contained in:
parent
4e5c4d0e30
commit
19b18d0719
1 changed files with 1 additions and 1 deletions
|
@ -829,7 +829,7 @@ ipcMain.on('request-check-rigctld',(data)=>{
|
|||
try {
|
||||
|
||||
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) {
|
||||
if(code == 0){
|
||||
let Data = {
|
||||
|
|
Loading…
Reference in a new issue