Did I find the right examples for you? yes no

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

        def run(package, noisy, clean, config):
    ENDLINE = "Connection to %s closed." % config.host.split("@")[1]
    target = config.host_sep.join([config.depository, package])

    eval_prog_args = []

    if not noisy:
        eval_prog_args.append("-q")
    if clean:
        eval_prog_args.append("-c")

    p = subprocess.Popen(["ssh", "-t", config.host, eval_prog, " ".join(eval_prog_args), target], 1, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    while True:
        line = p.stdout.readline()
        if not line or line == ENDLINE:
            break
        sys.stdout.write(line)
        


src/c/l/cloudpy-0.3.12/cloudpy/__init__.py   cloudpy(Download)
from cloudpy_package import pack
from cloudpy_sync import sync
from cloudpy_run import run
from cloudpy_clean import clean
from cloudpy_config import Config