User liparig_sf (firstname.lastname@example.org) posted:
In Silk how can I check if a process of an executable is still
I want to know when I Exit the program using Silk if the process is
still there even thought the dialog window of the program is not
there anymore. I need this because sometimes the program we are
working seems to close, dialog is not there and Exists() function
says its not longer there but the Process in Task Manager still
exists. I want to check that if the process is still there even after
I quit I can call SYS_KILL() on it.
SYS_Kill() is only supported on Unix. If you are testing a Windows app, I have a routine that will check for running process's and kill them. I'll zip it up and send it to you if you like. Just send me your e-mail address.
I have two utilities that I wrap with sys_execute to accomplish these tasks: pulist.exe and killall.exe. I can email these to anyone who needs them, but Tony's approach may be preferable. Mine will work as all users on NT, 2k, XPP, XPH provided that you ran the exe that you are trying to kill. I have a trick to kill processes that 'aren't yours' as well, if necessary.
I have been using the killall.exe for some time now, but I would be instrested in the pulist.exe? my email is Randy.Cyr@atxinc.com. And if you send it you will need to zip it up and rename the extenstion to .zz not .zip Our company filters out all email's with .exe and .zip attachments for security reasons. Thanks