Did I find the right examples for you? yes no

All Samples(25068)  |  Call(0)  |  Derive(0)  |  Import(25068)
subprocess - Subprocesses with accessible I/O streams

This module allows you to spawn processes, connect to their
input/output/error pipes, and obtain their return codes.  This module
intends to replace several other, older modules and functions, like:

os.system
os.spawn*
os.popen*
popen2.*(more...)

src/m/a/matplotlib-ancient-HEAD/examples/tests/backend_driver.py   matplotlib-ancient(Download)
 
try:
    import subprocess
    def run(arglist):
        try:

src/g/l/glass.py-HEAD/examples/appengine-buildout/bootstrap.py   glass.py(Download)
"""
 
import os, shutil, sys, tempfile, urllib, urllib2, subprocess
from optparse import OptionParser
 
 
if is_jython:
    import subprocess
    exitcode = subprocess.Popen(cmd, env=env).wait()
else:  # Windows prefers this, apparently; otherwise we would prefer subprocess

src/p/o/poni-HEAD/examples/db-cluster/report_plugin.py   poni(Download)
import os
from poni import config
import subprocess
 
def dot(file_path):

src/g/i/git-buildpackage-rpm-HEAD/examples/zeitgeist-git.py   git-buildpackage-rpm(Download)
 
import os
import subprocess
import sys
import time

src/k/i/kiwi-gtk-1.9.38/examples/tasklet/test-tasklet2.py   kiwi-gtk(Download)
from optparse import OptionParser
import os
import subprocess
import sys
 

src/m/e/metaseq-0.5.2/metaseq/scripts/download_metaseq_example_data.py   metaseq(Download)
#!/usr/bin/env python
import os
import subprocess
import logging
import hashlib

src/t/a/taskflow-0.2/taskflow/tests/test_examples.py   taskflow(Download)
import os
import re
import subprocess
import sys
 

src/t/a/taskflow-0.2/taskflow/examples/worker_based_flow.py   taskflow(Download)
import json
import os
import subprocess
import sys
import tempfile

src/t/a/taskflow-0.2/taskflow/examples/resume_many_flows.py   taskflow(Download)
 
import os
import subprocess
import sys
import tempfile

src/p/u/purity-0.2.4/purity/examples/random_notes.py   purity(Download)
    except KeyboardInterrupt:
        print("Quitting.")
    import subprocess
    print("Killing all running pd processes.") # FIXME
    subprocess.call("killall pd", shell=True)

Previous  5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13  Next