See also POSIX users (Linux, BSD, etc.) are strongly encouraged to install and use the much more recent subprocess32 module instead of the version included with python 2.7. It is a drop in replacement with better behavior in many situations. PEP 324 – PEP proposing the subprocess module 17.1.1. Using the subprocess Module¶ The recommended way to launch subprocesses is to use the following convenie