Home | History | Annotate | Download | only in scripts

Lines Matching refs:proc

22 def RunSubprocessInBackground(proc):
24 logging.info("running %s in the background" % " ".join(proc))
25 return subprocess.Popen(proc)
28 def RunSubprocess(proc, timeout=0):
33 proc: list of process components (exe + args)
37 logging.info("running %s, timeout %d sec" % (" ".join(proc), timeout))
48 p = subprocess.Popen(proc, universal_newlines=True,
83 logging.error("TIMEOUT waiting for %s" % proc[0])
84 raise TimeoutError(proc[0])
95 logging.error("%s exited with non-zero result code %d" % (proc[0], result))