MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / pollProcess

Function pollProcess

lib/core/common.py:5254–5274  ·  view source on GitHub ↗

Checks for process status (prints . if still running)

(process, suppress_errors=False)

Source from the content-addressed store, hash-verified

5252 return [fields[x + 1:y] for (x, y) in _zip(commas, commas[1:])]
5253
5254def 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
5276def parseRequestFile(reqFile, checkParams=True):
5277 """

Callers 2

updateFunction · 0.90
createMsfShellcodeMethod · 0.90

Calls 1

dataToStdoutFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…