5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.DebugClients.Python.SubprocessExtension</h1> |
9 <h1>eric7.DebugClients.Python.SubprocessExtension</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a function to patch subprocess.Popen to support debugging |
11 Module implementing a function to patch subprocess.Popen to support debugging |
13 of the process. |
12 of the process. |
14 </p> |
13 </p> |
|
14 |
15 <h3>Global Attributes</h3> |
15 <h3>Global Attributes</h3> |
16 |
|
17 <table> |
16 <table> |
18 <tr><td>_debugClient</td></tr> |
17 <tr><td>_debugClient</td></tr> |
19 </table> |
18 </table> |
|
19 |
20 <h3>Classes</h3> |
20 <h3>Classes</h3> |
21 |
|
22 <table> |
21 <table> |
23 |
|
24 <tr> |
22 <tr> |
25 <td><a href="#PopenWrapper">PopenWrapper</a></td> |
23 <td><a href="#PopenWrapper">PopenWrapper</a></td> |
26 <td>Wrapper class for subprocess.Popen.</td> |
24 <td>Wrapper class for subprocess.Popen.</td> |
27 </tr> |
25 </tr> |
28 </table> |
26 </table> |
|
27 |
29 <h3>Functions</h3> |
28 <h3>Functions</h3> |
30 |
|
31 <table> |
29 <table> |
32 |
|
33 <tr> |
30 <tr> |
34 <td><a href="#patchSubprocess">patchSubprocess</a></td> |
31 <td><a href="#patchSubprocess">patchSubprocess</a></td> |
35 <td>Function to patch the subprocess module.</td> |
32 <td>Function to patch the subprocess module.</td> |
36 </tr> |
33 </tr> |
37 </table> |
34 </table> |
|
35 |
38 <hr /> |
36 <hr /> |
39 <hr /> |
37 <hr /> |
40 <a NAME="PopenWrapper" ID="PopenWrapper"></a> |
38 <a NAME="PopenWrapper" ID="PopenWrapper"></a> |
41 <h2>PopenWrapper</h2> |
39 <h2>PopenWrapper</h2> |
42 |
|
43 <p> |
40 <p> |
44 Wrapper class for subprocess.Popen. |
41 Wrapper class for subprocess.Popen. |
45 </p> |
42 </p> |
|
43 |
46 <h3>Derived from</h3> |
44 <h3>Derived from</h3> |
47 module.Popen |
45 module.Popen |
48 <h3>Class Attributes</h3> |
46 <h3>Class Attributes</h3> |
49 |
|
50 <table> |
47 <table> |
51 <tr><td>None</td></tr> |
48 <tr><td>None</td></tr> |
52 </table> |
49 </table> |
|
50 |
53 <h3>Class Methods</h3> |
51 <h3>Class Methods</h3> |
54 |
|
55 <table> |
52 <table> |
56 <tr><td>None</td></tr> |
53 <tr><td>None</td></tr> |
57 </table> |
54 </table> |
|
55 |
58 <h3>Methods</h3> |
56 <h3>Methods</h3> |
59 |
|
60 <table> |
57 <table> |
61 |
|
62 <tr> |
58 <tr> |
63 <td><a href="#PopenWrapper.__init__">PopenWrapper</a></td> |
59 <td><a href="#PopenWrapper.__init__">PopenWrapper</a></td> |
64 <td>Constructor</td> |
60 <td>Constructor</td> |
65 </tr> |
61 </tr> |
66 </table> |
62 </table> |
|
63 |
67 <h3>Static Methods</h3> |
64 <h3>Static Methods</h3> |
68 |
|
69 <table> |
65 <table> |
70 <tr><td>None</td></tr> |
66 <tr><td>None</td></tr> |
71 </table> |
67 </table> |
72 |
68 |
|
69 |
73 <a NAME="PopenWrapper.__init__" ID="PopenWrapper.__init__"></a> |
70 <a NAME="PopenWrapper.__init__" ID="PopenWrapper.__init__"></a> |
74 <h4>PopenWrapper (Constructor)</h4> |
71 <h4>PopenWrapper (Constructor)</h4> |
75 <b>PopenWrapper</b>(<i>arguments, *args, **kwargs</i>) |
72 <b>PopenWrapper</b>(<i>arguments, *args, **kwargs</i>) |
76 |
|
77 <p> |
73 <p> |
78 Constructor |
74 Constructor |
79 </p> |
75 </p> |
|
76 |
80 <dl> |
77 <dl> |
81 |
78 |
82 <dt><i>arguments</i> (list of str or str)</dt> |
79 <dt><i>arguments</i> (list of str or str)</dt> |
83 <dd> |
80 <dd> |
84 command line arguments for the new process |
81 command line arguments for the new process |
96 <hr /> |
93 <hr /> |
97 <hr /> |
94 <hr /> |
98 <a NAME="patchSubprocess" ID="patchSubprocess"></a> |
95 <a NAME="patchSubprocess" ID="patchSubprocess"></a> |
99 <h2>patchSubprocess</h2> |
96 <h2>patchSubprocess</h2> |
100 <b>patchSubprocess</b>(<i>module, debugClient</i>) |
97 <b>patchSubprocess</b>(<i>module, debugClient</i>) |
101 |
|
102 <p> |
98 <p> |
103 Function to patch the subprocess module. |
99 Function to patch the subprocess module. |
104 </p> |
100 </p> |
|
101 |
105 <dl> |
102 <dl> |
106 |
103 |
107 <dt><i>module</i> (module)</dt> |
104 <dt><i>module</i> (module)</dt> |
108 <dd> |
105 <dd> |
109 reference to the imported module to be patched |
106 reference to the imported module to be patched |