[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

How to kill processes by it's name?

? ??

3/6/2009 9:16:00 AM

hi forks..

as I mentioned it by mail title, How I can kill processes by it's name?

Are there some libraries for this function in ruby?

thanks for all.

1 Answer

Andrew Timberlake

3/6/2009 10:48:00 AM

0

On Fri, Mar 6, 2009 at 11:15 AM, Jun Young Kim <jykim@altibase.com> wrote:
> hi forks..
>
> as I mentioned it by mail title, How I can kill processes by it's name?
>
> Are there some libraries for this function in ruby?
>
> thanks for all.
>
>

I know it's not exactly what you're looking for but you could use a
system call to pkill

Andrew Timberlake
http://ramblingso...
http://www.linkedin.com/in/andrew...

"I have never let my schooling interfere with my education" - Mark Twain