🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1744

Kill by name?

#1744
From: Carl B Jabido
Date: Fri, 06 Nov 1992 02:08
16 lines
1304 bytes
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
Technical Details
Message-ID: <keyRCna00iV448nlB2@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!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+

Show Full Headers
Complete Article Headers
Organization: Sophomore, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA
Path: arc1-ca.pugleaf.net!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