PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` Python 2.7 Compatibility — kitchen 1.1.1 documentation

Python 2.7 Compatibility

Subprocess from Python 2.7

The subprocess module included here is a direct import from python-2.7’s python standard library. You can access it via:

>>> from kitchen.pycompat27 import subprocess

The motivation for including this module is that various API changing improvements have been made to subprocess over time. The following is a list of the known changes to subprocess with the python version they were introduced in:

New API Feature Ver
subprocess.CalledProcessError 2.5
subprocess.check_call() 2.5
subprocess.check_output() 2.7
subprocess.Popen.send_signal() 2.6
subprocess.Popen.terminate() 2.6
subprocess.Popen.kill() 2.6

See also

The stdlib subprocess documenation
For complete documentation on how to use subprocess

Table Of Contents

Previous topic

Python 2.5 Compatibility

Next topic

Exceptions

This Page