Try:
Code:

Shell('%ComSpec% /C pslist.exe | %SystemRoot%\System32\Find.exe /I "My_Proc" >NUL:')
If Not @ERROR
; process running
Else
; process not running
EndIf



Note the location of single vs double quotes. Replace "My_Proc" with your process name, or a variable. If using NoVarsInStrings, it would be "' + $Var + '" to preserve the quotes.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D