Stop writing non-portable Ruby file-management code.
Tag: systems
Episode #470: Binary Mode
Understand once and for all how, when, and why to open files in binary mode.
Episode #457: Subprocesses Part 9: Exec
Learn Ruby's `exec` method by building a tool that starts project-specific Apache instances
Episode #427: Subprocesses Part 8: Environmental Isolation
In today's episode we'll see how to discover what environment variables our programs are implicitly relying on.
Episode #426: Subprocesses Part 7: Soft Limits
Resource limits don't always have to be hard. Today we'll see how to put fuzzy handcuffs on a process.
Episode #425: Subprocesses Part 6: Limits
Sometimes child processes can get unruly. Today we'll learn how to impose some discipline, using resource limits.
Episode #423: Subprocesses Part 5: SIGCHLD
Starting processes is one thing. Keeping track of them after they've started is another.
Episode #419: Subprocesses Part 4: Redirection
Today we look at redirecting subprocess I/O, and discover that it's surprisingly easy!
Episode #417: Subprocesses Part 3: Spawn
In this episode we learn how to asynchronously start child processes.