home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / programm / 6238 < prev    next >
Encoding:
Internet Message Format  |  1992-11-06  |  1.3 KB

  1. Xref: sparky comp.os.os2.programmer:6238 comp.os.os2.misc:35528
  2. Organization: Sophomore, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA
  3. 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+
  4. Newsgroups: comp.os.os2.programmer,comp.os.os2.misc
  5. Message-ID: <keyRCna00iV448nlB2@andrew.cmu.edu>
  6. Date: Thu,  5 Nov 1992 21:08:51 -0500 
  7. From: Carl B Jabido <cj00+@andrew.cmu.edu>
  8. Subject: Kill by name?
  9. Lines: 16
  10.  
  11. Hi, I'm looking for a program which would let you kill a process by
  12. name, and not by PID.  I think I remember something like this.  Example:
  13. if a program test.exe was running, then typing "kill test" would kill
  14. it.  I know of programs which do it by PID, but I need something that
  15. does it by name, because I want to use it in a REXX script which would
  16. not have input.  I want it to kill the same program every time, and
  17. because the PID changes, I can't do it with the kill PID procedures.
  18. If anyone knows anything about this, please email info to me!  Thanks!
  19.  
  20. Better yet, if anyone knows how to do this in REXX, ie, a builtin REXX
  21. procedure or function, that would be even better!
  22.  
  23. Thanks again for any pointers, tips, info, etc.
  24.  
  25. Carl Jabido
  26. cj00@andrew.cmu.edu
  27.