RExec

Author

Samuel Williams (www.oriontransfer.co.nz/)

Copyright

Copyright © 2009, 2010 Samuel Williams

License

GPLv3

RExec stands for Ruby Execute or Remote Execute (depending on how you use it). It provides a number of different things to assist with running Ruby code:

  • A framework to send Ruby code to a remote server for execution

  • A framework for writing command line daemons (i.e. start, restart, stop, status)

  • A comprehensive Task class for launching tasks, managing input and output, exit status, etc

  • Basic privilege management code for changing the processes owner

  • A bunch of helpers for various different things (such as reading a file backwards)

  • daemon-exec executable for running regular shell tasks in the background