Is there a way to kill all processes that reside in a given directory with either a shell or a batch script (not just by name, but by path?)?
E.G.
A directory with
script.sh
myapp.app
dostuff.command
Or one windows:
startup.bat
myprog.exe
saver.scr
would then kill these specific processes, if running.
Should work on 10.5 and up, and on Windows XP or 7.
On Mac OS try: