def _start_process(cmd, identity):
    """Constructs command line options string and runs a plugin process.

    """
    cmd += ["--identity=%s" % identity]
    logging.info("Starting process %s", cmd)
    try:
        proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
                                stderr=subprocess.PIPE)
    except OSError, e:
        logging.warning("Plugin Process did not execute correctly: %s",
                        e.strerror)
        return None
    return proc
dataset/ETHPy150Open metafetish/buttplug/buttplug/core/plugin.py/_start_process/original