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/h/e/heroku-playframework-HEAD/play-1.2.2RC1/modules/scala-0.9.1/samples-and-tests/i-am-a-developer/tests.py   heroku-playframework(Download)
import shutil
import sys
import subprocess
import re
import time

src/s/n/snaptastic-0.2.12/snaptastic/examples.py   snaptastic(Download)
    def pre_mounts(self):
        import subprocess
        subprocess.check_output(['/etc/init.d/postgresql', 'stop'])
 
    def post_mounts(self):
        import subprocess

src/l/a/landline-server-HEAD/co.whatisuplabs.ldln/lib/play/samples-and-tests/i-am-a-developer/tests.py   landline-server(Download)
import shutil
import sys
import subprocess
import re
import time

src/o/c/ocgis-HEAD/examples/filed/v0.06b/test_scripts/v0.06b/combinations/manager.py   ocgis(Download)
from sqlalchemy.schema import MetaData
from sqlalchemy.orm.session import sessionmaker
import subprocess
 
 

src/b/a/baepython_sdk-HEAD/examples/pyexample/0/static/admin/js/compress.py   baepython_sdk(Download)
#!/usr/bin/env python
import os
import optparse
import subprocess
import sys

src/b/a/baepython_sdk-HEAD/examples/djangotest/0/static/admin/js/compress.py   baepython_sdk(Download)
#!/usr/bin/env python
import os
import optparse
import subprocess
import sys

src/m/m/mmc-HEAD/mds/agent/contrib/userquota/networkquota_example/applyTCrules.py   mmc(Download)
# 
import ldap
import subprocess
import re
 

src/b/c/bcbio-nextgen-0.7.8/bcbio/pipeline/sample.py   bcbio-nextgen(Download)
import os
import copy
import subprocess
 
from bcbio.utils import file_exists

src/a/g/agx.generator.dexterity-1.0a1/src/agx/generator/dexterity/testing/data/agx.generator.dexterity-sample/bootstrap.py   agx.generator.dexterity(Download)
 
if is_jython:
    import subprocess
 
    assert subprocess.Popen([sys.executable] + ['-c', quote(cmd), '-mqNxd',

src/p/y/py2app-0.8/examples/simple/hello.py   py2app(Download)
    print ("os.getcwd(): %s"%(os.getcwd(),))
    pprint.pprint(dict(os.environ))
    import subprocess
    subprocess.call(["/usr/bin/say", "hello"])
 

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