home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.os2.programmer:6238 comp.os.os2.misc:35528
- Organization: Sophomore, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sun-barr!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!cj00+
- Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
- Message-ID: <keyRCna00iV448nlB2@andrew.cmu.edu>
- Date: Thu, 5 Nov 1992 21:08:51 -0500
- From: Carl B Jabido <cj00+@andrew.cmu.edu>
- Subject: Kill by name?
- Lines: 16
-
- Hi, I'm looking for a program which would let you kill a process by
- name, and not by PID. I think I remember something like this. Example:
- if a program test.exe was running, then typing "kill test" would kill
- it. I know of programs which do it by PID, but I need something that
- does it by name, because I want to use it in a REXX script which would
- not have input. I want it to kill the same program every time, and
- because the PID changes, I can't do it with the kill PID procedures.
- If anyone knows anything about this, please email info to me! Thanks!
-
- Better yet, if anyone knows how to do this in REXX, ie, a builtin REXX
- procedure or function, that would be even better!
-
- Thanks again for any pointers, tips, info, etc.
-
- Carl Jabido
- cj00@andrew.cmu.edu
-