I don't know how reliable this function is as I haven't used it and it seems to rely on quite a few dependencies:

http://www.kixtart.org/ubbthreads/showflat.php?Cat=0&Number=82419&an=0&page=24#82419

if this doesn't work for you... you can also download a tool called PSLIST.exe if you don't already have it which lists all process running on a machine and you can call it using RUN or SHELL and then couple that with WSHPIPE() to get the results from the command into an array and then check for the existence of your process....

btw, WSHPIPE() is something i live by... love it. =D