With those other modules, many of the examples here re-create the ones Is intended to replace functions such as os.system(),Ĭommands.*(). Higher-level interface than some of the other available modules, and The subprocess module provides a consistent interface toĬreating and working with additional processes.
Spawn and communicate with additional processes. Subprocess – Work with additional processes ¶ Purpose: