Process management and control


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

I was expecting something like:

my_script ="/tmp/")

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