11. Processes
Overview
In this chapter, we will quickly look at how Java handles processes. You will start by exploring the Runtime and ProcessBuilder
classes, their functions, and how to launch them, in order to then create a process from either class. You'll then learn to send and receive data between parent and child, and how to store the outcomes of a process in a file. In this chapter's final activity, you will use these skills to create a parent process which will launch a child that will print an outcome (then captured by the parent) to the terminal.