Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/p/l/plexnet-HEAD/third_party/generic/pypy/py/process/testing/test_killproc.py   plexnet(Download)
    t.write("import time ; time.sleep(100)")
    proc = py.std.subprocess.Popen([sys.executable, str(t)])
    assert proc.poll() is None # no return value yet
    py.process.kill(proc.pid)
    ret = proc.wait()

src/p/y/py-1.4.20/testing/process/test_killproc.py   py(Download)
    t.write("import time ; time.sleep(100)")
    proc = py.std.subprocess.Popen([sys.executable, str(t)])
    assert proc.poll() is None # no return value yet
    py.process.kill(proc.pid)
    ret = proc.wait()

src/p/y/pytest-2.5.2/testing/test_argcomplete.py   pytest(Download)
            stdout=py.std.subprocess.PIPE, *args, **kargs)
        output, unused_err = process.communicate()
        retcode = process.poll()
        if retcode:
            cmd = kargs.get("args")