--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.DebugClients.Python.SubprocessExtension.html Thu Jul 07 11:23:56 2022 +0200 @@ -0,0 +1,118 @@ +<!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> \ No newline at end of file