@ECHO OFF
title SoulseekQt.bat
set SOULSEEK=PATH TO SOULSEEK FOLDERset NIR=PATH TO NIRCMD FOLDER
:END
start /min "" "%SOULSEEK%\SoulseekQt.exe"
GOTO LOOP
:LOOP
timeout /t 60 /nobreak >NUL 2>&1
FOR /F "delims=" %%a IN ('tasklist /nh ^| find /c /i "SoulseekQt.exe"') DO IF %%a EQU 0 GOTO END
%NIR% dlg "SoulseekQt.exe" "" click ok%NIR% dlg "SoulseekQt.exe" "" click ok%NIR% dlg "SoulseekQt.exe" "" click yes%NIR% dlg "SoulseekQt.exe" "" click yes
GOTO LOOP
exit
Do you have the diagnostics turned on? You might try turning them off, as I think it increases the memory and causes a greater risk of crashing.
Do you have the diagnostics turned on? You might try turning them off, as I think it increases the memory and causes a greater risk of crashing.
Exactly the same problem here. I am using Windows 7 Ultimate 64-bit. I run SoulseekQt 2016-04-24 non-stop and about once a day it crashes like shown in the picture above. So I have to restart it and then after approximately another 24 hours it will crash again. Sucks.
@ECHO OFF
title SoulseekQt.bat
set SOULSEEK=ROUTE TO SOULSEEK
set NIR=ROUTE TO NIRCMDset EXE=SoulseekQt.exe
:START
start /min "" "%SOULSEEK%\%EXE%"
:LOOP
timeout /t 60 /nobreak >NUL 2>&1
FOR /F "delims=" %%a IN ('tasklist /nh ^| find /c /i "%EXE%"') DO ( IF %%a EQU 0 ( GOTO START ) ELSE IF %%a GTR 1 ( GOTO ERROR ))
%NIR% dlg "%EXE%" "" click ok%NIR% dlg "%EXE%" "" click ok%NIR% dlg "%EXE%" "" click yes%NIR% dlg "%EXE%" "" click yes
GOTO LOOP
:ERROR
ECHO %date%;%time%: taskkill /f /im %EXE% /t > NUL 2>&1taskkill /f /im %EXE% /t > NUL 2>&1
GOTO START
exit