(self, *args, **kwargs)
| 106 | ToolchainProfiler.record_subprocess_spawn(self.pid, args) |
| 107 | |
| 108 | def communicate(self, *args, **kwargs): |
| 109 | ToolchainProfiler.record_subprocess_wait(self.pid) |
| 110 | output = super().communicate(*args, **kwargs) |
| 111 | ToolchainProfiler.record_subprocess_finish(self.pid, self.returncode) |
| 112 | return output |
| 113 | |
| 114 | sys.exit = profiled_sys_exit |
| 115 | subprocess.call = profiled_call |
no test coverage detected