(cmd, allow_input, capture_output)
| 136 | |
| 137 | @contextmanager |
| 138 | def 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 | |
| 148 | def get_quicktunnel_url(): |
no test coverage detected
searching dependent graphs…