(binary, work, cache, marker, port, timeout_ms)
| 162 | |
| 163 | |
| 164 | def launch_start(binary, work, cache, marker, port, timeout_ms): |
| 165 | os.makedirs(cache, exist_ok=True) |
| 166 | env = fixture_environment(work, cache, marker, timeout_ms) |
| 167 | process = subprocess.Popen( |
| 168 | [binary, "daemon", "start", "--port=%d" % port, "--open"], |
| 169 | stdout=subprocess.PIPE, |
| 170 | stderr=subprocess.PIPE, |
| 171 | env=env, |
| 172 | ) |
| 173 | return process, env |
| 174 | |
| 175 | |
| 176 | def collect(process, timeout=30): |
no test coverage detected