Testing Child Processes in Ruby – Grinding Gears
I was recently writing a piece of code that we wanted to act as a supervisor of child processes. We wanted to ask this supervisor the following “Hello there, would you mind running this task in a child process? Thanks!”. From here the supervisor would create a process, keep track of it so we can stop it if necessary, and run the given piece of code in it. This supervisor could run any number of tasks in child processes and would keep track of each one.
Testing Child Processes in Ruby – Grinding Gears #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper