The Subprocesses series begins with Episode #414: Subprocesses Part 1: Basics
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!
Learn Ruby's exec method by building a tool that starts project-specific Apache instances
In today's episode we'll see how to discover what environment variables our programs are implicitly relying on.