Did I find the right examples for you? yes no

All Samples(5780)  |  Call(5780)  |  Derive(0)  |  Import(0)
Wait for child process to terminate.  Returns returncode
attribute.

src/m/2/M2Crypto-HEAD/examples/tinderbox/killableprocess.py   M2Crypto(Download)
        else:
            if timeout == -1:
                subprocess.Popen.wait(self)
                return self.returncode
 
            self.kill(group)
            signal.signal(signal.SIGCHLD, oldsignal)
            subprocess.Popen.wait(self)
 
        return self.returncode

src/j/u/jubatus-example-HEAD/test/util.py   jubatus-example(Download)
            raise Exception('Server is terminated unexpectedly.')
        server.kill()
        server.wait()
 
@contextmanager
        p.stdin.write(kwargs['input'].encode('utf-8'))
        p.stdin.close()
    ret = p.wait()
    if ret != 0:
        raise Exception('terminated with error: %d' % ret)

src/n/i/nipy-0.3.0/tools/run_log_examples.py   nipy(Download)
                        shell = NEED_SHELL)
            # Execute
            retcode = proc.wait()
        finally:
            if proc.poll() is None: # In case we get killed

src/p/y/python-emotiv-HEAD/examples/thesis-bci.py   python-emotiv(Download)
        headset.disconnect()
        ssvepd.terminate()
        ssvepd.wait()
        dspd.join(0)
        dspd.terminate()

src/m/o/modern-python-example-HEAD/lib/python2.7/site-packages/yolk/utils.py   modern-python-example(Download)
            if time.time() - start > max_timeout:
                os.kill(pipe.pid, signal.SIGINT)
                pipe.wait()
                return 1, "Time exceeded"
 
    pipe.wait()

src/p/y/python-emotiv-HEAD/examples/yes-no-bci.py   python-emotiv(Download)
        ssvepd.terminate()
        print "Waiting ssvepd termination..."
        ssvepd.wait()
        if dspd and sock_connected:
            sock.close()

src/a/n/android-tools-HEAD/eventrecorder/src/examples/tests/tabs2.py   android-tools(Download)
    proc = Popen(fullCmd, shell=True, stdin=PIPE, stdout=PIPE, stderr=STDOUT)
    proc.stdin.close()
    proc.wait()
 
def startAdbServer():
    output = proc.stdout.read()
    proc.stdin.close()
    proc.wait()
    return output
 

src/a/n/android-tools-HEAD/eventrecorder/src/examples/tests/picker.py   android-tools(Download)
    fullCmd += cmd
    proc = Popen(fullCmd, shell=True, stdin=PIPE, stdout=PIPE, stderr=STDOUT)
    proc.stdin.close()
    proc.wait()
 
    proc = Popen(fullCmd, shell=True, stdin=PIPE, stdout=PIPE, stderr=STDOUT)
    output = proc.stdout.read()
    proc.stdin.close()
    proc.wait()
    return output

src/a/n/android-tools-HEAD/eventrecorder/src/examples/tests/overlays.py   android-tools(Download)
    proc = Popen(fullCmd, shell=True, stdin=PIPE, stdout=PIPE, stderr=STDOUT)
    proc.stdin.close()
    proc.wait()
 
def startAdbServer():
    output = proc.stdout.read()
    proc.stdin.close()
    proc.wait()
    return output
 

src/a/n/android-tools-HEAD/eventrecorder/src/examples/tests/icons.py   android-tools(Download)
    proc = Popen(fullCmd, shell=True, stdin=PIPE, stdout=PIPE, stderr=STDOUT)
    proc.stdin.close()
    proc.wait()
 
def startAdbServer():
    output = proc.stdout.read()
    proc.stdin.close()
    proc.wait()
    return output
 

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next