Checks for process status (prints . if still running)
(process, suppress_errors=False)
| 5252 | return [fields[x + 1:y] for (x, y) in _zip(commas, commas[1:])] |
| 5253 | |
| 5254 | def pollProcess(process, suppress_errors=False): |
| 5255 | """ |
| 5256 | Checks for process status (prints . if still running) |
| 5257 | """ |
| 5258 | |
| 5259 | while process: |
| 5260 | dataToStdout(".") |
| 5261 | time.sleep(1) |
| 5262 | |
| 5263 | returncode = process.poll() |
| 5264 | |
| 5265 | if returncode is not None: |
| 5266 | if not suppress_errors: |
| 5267 | if returncode == 0: |
| 5268 | dataToStdout(" done\n") |
| 5269 | elif returncode < 0: |
| 5270 | dataToStdout(" process terminated by signal %d\n" % returncode) |
| 5271 | elif returncode > 0: |
| 5272 | dataToStdout(" quit unexpectedly with return code %d\n" % returncode) |
| 5273 | |
| 5274 | break |
| 5275 | |
| 5276 | def parseRequestFile(reqFile, checkParams=True): |
| 5277 | """ |
no test coverage detected
searching dependent graphs…