[ SEA-GHOST MINI SHELL]

Path : /usr/share/doc/python-kitchen-1.1.1/html/
FILE UPLOADER :
Current File : //usr/share/doc/python-kitchen-1.1.1/html/api-pycompat27.html


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Python 2.7 Compatibility &mdash; kitchen 1.1.1 documentation</title>
    
    <link rel="stylesheet" href="_static/default.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '1.1.1',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="search" type="application/opensearchdescription+xml"
          title="Search within kitchen 1.1.1 documentation"
          href="_static/opensearch.xml"/>
    <link rel="top" title="kitchen 1.1.1 documentation" href="index.html" />
    <link rel="up" title="Kitchen API" href="api-overview.html" />
    <link rel="next" title="Exceptions" href="api-exceptions.html" />
    <link rel="prev" title="Python 2.5 Compatibility" href="api-pycompat25.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="api-exceptions.html" title="Exceptions"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="api-pycompat25.html" title="Python 2.5 Compatibility"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">kitchen 1.1.1 documentation</a> &raquo;</li>
          <li><a href="api-overview.html" accesskey="U">Kitchen API</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="module-kitchen.pycompat27.subprocess">
<span id="python-2-7-compatibility"></span><h1>Python 2.7 Compatibility<a class="headerlink" href="#module-kitchen.pycompat27.subprocess" title="Permalink to this headline">¶</a></h1>
<div class="section" id="subprocess-from-python-2-7">
<h2>Subprocess from Python 2.7<a class="headerlink" href="#subprocess-from-python-2-7" title="Permalink to this headline">¶</a></h2>
<p>The <a class="reference external" href="http://docs.python.org/library/subprocess.html#subprocess" title="(in Python v2.7)"><tt class="xref py py-mod docutils literal"><span class="pre">subprocess</span></tt></a> module included here is a direct import from
python-2.7&#8217;s <a class="reference external" href="http://docs.python.org/library">python standard library</a>.  You can access it via:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="kn">from</span> <span class="nn">kitchen.pycompat27</span> <span class="kn">import</span> <span class="n">subprocess</span>
</pre></div>
</div>
<p>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 <a class="reference external" href="http://docs.python.org/library/subprocess.html#subprocess" title="(in Python v2.7)"><tt class="xref py py-mod docutils literal"><span class="pre">subprocess</span></tt></a> with the python version they were
introduced in:</p>
<table border="1" class="docutils">
<colgroup>
<col width="92%" />
<col width="8%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">New API Feature</th>
<th class="head">Ver</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><a class="reference external" href="http://docs.python.org/library/subprocess.html#subprocess.CalledProcessError" title="(in Python v2.7)"><tt class="xref py py-exc docutils literal"><span class="pre">subprocess.CalledProcessError</span></tt></a></td>
<td>2.5</td>
</tr>
<tr class="row-odd"><td><a class="reference external" href="http://docs.python.org/library/subprocess.html#subprocess.check_call" title="(in Python v2.7)"><tt class="xref py py-func docutils literal"><span class="pre">subprocess.check_call()</span></tt></a></td>
<td>2.5</td>
</tr>
<tr class="row-even"><td><a class="reference external" href="http://docs.python.org/library/subprocess.html#subprocess.check_output" title="(in Python v2.7)"><tt class="xref py py-func docutils literal"><span class="pre">subprocess.check_output()</span></tt></a></td>
<td>2.7</td>
</tr>
<tr class="row-odd"><td><a class="reference external" href="http://docs.python.org/library/subprocess.html#subprocess.Popen.send_signal" title="(in Python v2.7)"><tt class="xref py py-meth docutils literal"><span class="pre">subprocess.Popen.send_signal()</span></tt></a></td>
<td>2.6</td>
</tr>
<tr class="row-even"><td><a class="reference external" href="http://docs.python.org/library/subprocess.html#subprocess.Popen.terminate" title="(in Python v2.7)"><tt class="xref py py-meth docutils literal"><span class="pre">subprocess.Popen.terminate()</span></tt></a></td>
<td>2.6</td>
</tr>
<tr class="row-odd"><td><a class="reference external" href="http://docs.python.org/library/subprocess.html#subprocess.Popen.kill" title="(in Python v2.7)"><tt class="xref py py-meth docutils literal"><span class="pre">subprocess.Popen.kill()</span></tt></a></td>
<td>2.6</td>
</tr>
</tbody>
</table>
<div class="admonition-see-also admonition seealso">
<p class="first admonition-title">See also</p>
<dl class="last docutils">
<dt>The stdlib <a class="reference external" href="http://docs.python.org/library/subprocess.html#subprocess" title="(in Python v2.7)"><tt class="xref py py-mod docutils literal"><span class="pre">subprocess</span></tt></a> documenation</dt>
<dd>For complete documentation on how to use subprocess</dd>
</dl>
</div>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Python 2.7 Compatibility</a><ul>
<li><a class="reference internal" href="#subprocess-from-python-2-7">Subprocess from Python 2.7</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="api-pycompat25.html"
                        title="previous chapter">Python 2.5 Compatibility</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="api-exceptions.html"
                        title="next chapter">Exceptions</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="_sources/api-pycompat27.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="api-exceptions.html" title="Exceptions"
             >next</a> |</li>
        <li class="right" >
          <a href="api-pycompat25.html" title="Python 2.5 Compatibility"
             >previous</a> |</li>
        <li><a href="index.html">kitchen 1.1.1 documentation</a> &raquo;</li>
          <li><a href="api-overview.html" >Kitchen API</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2011 Red Hat, Inc. and others.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
    </div>
  </body>
</html>

SEA-GHOST - SHELL CODING BY SEA-GHOST