Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ __enter__
Method
__enter__
test/test_sockets.py:196–199 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
194
self.args = args
195
196
def
__enter__(self):
197
print(
'Running background server: '
+ str(self.args))
198
self.process = Popen(self.args)
199
return
self
200
201
def
__exit__(self, *args, **kwargs):
202
clean_process(self.process)
Callers
nothing calls this directly
Calls
1
print
Function · 0.50
Tested by
no test coverage detected