The Subprocesses series begins with Episode #414: Subprocesses Part 1: Basics
Have you ever gone to start a local development server, only to have it complain that the port is already taken? In this episode you'll learn about how to use …
Ruby's backtick operator is great for quick-and-dirty output capture, but what do you use when you need more power?
Learn the nuances of Ruby's Process.wait, Process.wait2, and Process.waitall system calls, and how to choose between them based on your use case.
Don't let your Ruby subprocesses become zombies!
Learn a robust, cross-platform way to throw away unwanted output in Ruby programs.
Learn the twin pillars at the root of the UNIX process-spawning architecture!
If you're making subprocesses on a UNIX-like OS, you're using fork(). Learn all about using fork() from Ruby.
Always clean up before you turn out the lights!
Ruby's open() call has more tricks up its sleeves than you know!