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

Method __init__

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

Source from the content-addressed store, hash-verified

102
103 class ProfiledPopen(original_Popen):
104 def __init__(self, args, *otherargs, **kwargs):
105 super().__init__(args, *otherargs, **kwargs)
106 ToolchainProfiler.record_subprocess_spawn(self.pid, args)
107
108 def communicate(self, *args, **kwargs):
109 ToolchainProfiler.record_subprocess_wait(self.pid)

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45

Tested by

no test coverage detected