MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / communicate

Method communicate

tools/toolchain_profiler.py:108–112  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

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

Callers 1

get_finished_processFunction · 0.80

Calls 2

Tested by

no test coverage detected