Home | History | Annotate | Download | only in valgrind

Lines Matching refs:timeout

28 def RunSubprocess(proc, timeout=0):
29 """ Runs a subprocess, until it finishes or |timeout| is exceeded and the
30 process is killed with taskkill. A |timeout| <= 0 means no timeout.
34 timeout: how long to wait before killing, <= 0 means wait forever
37 logging.info("running %s, timeout %d sec" % (" ".join(proc), timeout))
55 if timeout > 0:
56 wait_until = time.time() + timeout
65 if timeout > 0:
83 logging.error("TIMEOUT waiting for %s" % proc[0])