This module allows you to spawn processes and connect their input/output/error pipes and obtain their return codes.
The primary interface offered by this module is a pair of factory functions:
The class defining the objects returned by the factory functions is also available:
If not using one off the helper functions to create Popen3 objects, the parameter cmd is the shell command to execute in a sub-process. The capturestderr flag, if true, specifies that the object should capture standard error output of the child process. The default is false. If the bufsize parameter is specified, it specifies the size of the I/O buffers to/from the child process.