# Process management and control

**URL:** <https://www.ruby-forum.com/t/process-management-and-control/75811>\
**Category:** Ruby\
**Created:** [March 2, 2006, 7:13pm UTC](https://www.ruby-forum.com/t/process-management-and-control/75811 "2006-03-02T19:13:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 2, 2006, 7:13pm UTC](https://www.ruby-forum.com/t/process-management-and-control/75811/1 "2006-03-02T19:13:51Z")

</div>

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?
