Process management and control

T

tim.hennekey

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top