src/eric7/Documentation/Source/eric7.DebugClients.Python.SubprocessExtension.html

Thu, 07 Jul 2022 11:23:56 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 07 Jul 2022 11:23:56 +0200
branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
eric7/Documentation/Source/eric7.DebugClients.Python.SubprocessExtension.html@d64760b2da50
child 10479
856476537696
permissions
-rw-r--r--

Reorganized the project structure to use the source layout in order to support up-to-date build systems with "pyproject.toml".

<!DOCTYPE html>
<html><head>
<title>eric7.DebugClients.Python.SubprocessExtension</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.DebugClients.Python.SubprocessExtension</h1>

<p>
Module implementing a function to patch subprocess.Popen to support debugging
of the process.
</p>
<h3>Global Attributes</h3>

<table>
<tr><td>_debugClient</td></tr>
</table>
<h3>Classes</h3>

<table>

<tr>
<td><a href="#PopenWrapper">PopenWrapper</a></td>
<td>Wrapper class for subprocess.Popen.</td>
</tr>
</table>
<h3>Functions</h3>

<table>

<tr>
<td><a href="#patchSubprocess">patchSubprocess</a></td>
<td>Function to patch the subprocess module.</td>
</tr>
</table>
<hr />
<hr />
<a NAME="PopenWrapper" ID="PopenWrapper"></a>
<h2>PopenWrapper</h2>

<p>
        Wrapper class for subprocess.Popen.
</p>
<h3>Derived from</h3>
module.Popen
<h3>Class Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>

<table>

<tr>
<td><a href="#PopenWrapper.__init__">PopenWrapper</a></td>
<td>Constructor</td>
</tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="PopenWrapper.__init__" ID="PopenWrapper.__init__"></a>
<h4>PopenWrapper (Constructor)</h4>
<b>PopenWrapper</b>(<i>arguments, *args, **kwargs</i>)

<p>
            Constructor
</p>
<dl>

<dt><i>arguments</i> (list of str or str)</dt>
<dd>
command line arguments for the new process
</dd>
<dt><i>args</i> (list)</dt>
<dd>
constructor arguments of Popen
</dd>
<dt><i>kwargs</i> (dict)</dt>
<dd>
constructor keyword only arguments of Popen
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
<hr />
<a NAME="patchSubprocess" ID="patchSubprocess"></a>
<h2>patchSubprocess</h2>
<b>patchSubprocess</b>(<i>module, debugClient</i>)

<p>
    Function to patch the subprocess module.
</p>
<dl>

<dt><i>module</i> (module)</dt>
<dd>
reference to the imported module to be patched
</dd>
<dt><i>debugClient</i> (DebugClient)</dt>
<dd>
reference to the debug client object
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial