johnnywang has asked for the wisdom of the Perl Monks concerning the following question:
Now I'd like to write a another perl script that will kill a particular process depending on some other logic. I guess I have two questions: how to find the particular process (e.g., the process that was started as "perl foo.pl a"?), and how to kill it. Thanks.1st DOS window: perl foo.pl a 2nd DOS window: perl foo.pl b etc.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to kill a windows process by command name?
by ickyb0d (Monk) on Nov 18, 2005 at 18:55 UTC | |
|
Re: How to kill a windows process by command name?
by johnnywang (Priest) on Nov 18, 2005 at 20:10 UTC | |
by BrowserUk (Patriarch) on Nov 18, 2005 at 20:54 UTC | |
|
Re: How to kill a windows process by command name?
by gasho (Beadle) on Nov 18, 2005 at 19:08 UTC |