| Sebastian Hölz 2005-11-27, 7:04 pm |
| I have currently had the same problem ...
If you are running XP Pro you may use the (dos-) commands 'tasklists' and 'taskkill' to analyze currently running processes and kill them. However you should notice that theses commands are only available under XP Pro. The according 'tasklist.exe' and 'ta
skkill.exe' are not portable to WIN2000 or WINNT computers!
So if you want your code to be more portable you should instead use the pstools (http://www.sysinternals.com/Utilities/PsTools.html), which are freely available, offer the same functionality and should run on all Windows platforms (I use them under Win200
0 and XP).
I have written Matlab wrappers for pslist (= tasklist) and pskill (= taskkill), but have not put them onto the file-exchange server yet. I will do that next w , don't have the time right now. So help yourself on the above webpage or wait a few days ...
:)
Sebastian
|