[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Process management and control

tim.hennekey@gmail.com

3/2/2006 6:09:00 PM

I'd like, from within Ruby, to be able to:

1. Start a process/script
2. Stop a process/script
3. Monitor a process/script to see if it dies or is abnormally
terminated

I was expecting something like:

my_script = Process.new("/tmp/script.sh")
my_script.start

Essentially is there a way to create an object which is a system
process as you might with Java?