Forum: Ruby Process management and control

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
(Guest)
on 2006-03-02 20:13
(Received via mailing list)
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?
This topic is locked and can not be replied to.