MCPcopy Create free account
hub / github.com/cloudflare/cloudflared / run_cloudflared_background

Function run_cloudflared_background

component-tests/util.py:138–145  ·  view source on GitHub ↗
(cmd, allow_input, capture_output)

Source from the content-addressed store, hash-verified

136
137@contextmanager
138def run_cloudflared_background(cmd, allow_input, capture_output):
139 cfd = None
140 try:
141 cfd = CloudflaredProcess(cmd, allow_input, capture_output)
142 yield cfd
143 finally:
144 if cfd:
145 cfd.cleanup()
146
147
148def get_quicktunnel_url():

Callers 1

start_cloudflaredFunction · 0.85

Calls 2

cleanupMethod · 0.95
CloudflaredProcessClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…