This is a collection of common patterns for running executables in a sub-process using the subprocess module.