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

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eric7/Documentation/Source/eric7.DebugClients.Python.SubprocessExtension.html	Mon May 24 11:19:57 2021 +0200
@@ -0,0 +1,132 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric7.DebugClients.Python.SubprocessExtension</title>
+<meta charset="UTF-8">
+<style>
+body {
+    background: #EDECE6;
+    margin: 0em 1em 10em 1em;
+    color: black;
+}
+
+h1 { color: white; background: #85774A; }
+h2 { color: white; background: #85774A; }
+h3 { color: white; background: #9D936E; }
+h4 { color: white; background: #9D936E; }
+    
+a { color: #BA6D36; }
+
+</style>
+</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>
\ No newline at end of file

eric ide

mercurial