eric7.DebugClients.Python.SubprocessExtension
Module implementing a function to patch subprocess.Popen to support debugging
of the process.
Global Attributes
Classes
Functions
PopenWrapper
Wrapper class for subprocess.Popen.
Derived from
module.Popen
Class Attributes
Class Methods
Methods
Static Methods
PopenWrapper (Constructor)
PopenWrapper(args, *popenargs, **kwargs)
Constructor
- args (list of str or str)
-
command line arguments for the new process
- popenargs (list)
-
constructor arguments of Popen
- kwargs (dict)
-
constructor keyword only arguments of Popen
patchSubprocess
patchSubprocess(module, debugClient)
Function to patch the subprocess module.
- module (module)
-
reference to the imported module to be patched
- debugClient (DebugClient)
-
reference to the debug client object