def nodetool(cmd):
    cmd = "JAVA_HOME={JAVA_HOME} {nodetool_path} {cmd}".format(
        JAVA_HOME=JAVA_HOME, nodetool_path=nodetool_path, cmd=cmd)
    proc = subprocess.Popen(cmd, 
                            stdout=subprocess.PIPE,
                            stderr=subprocess.STDOUT,
                            shell=True)
    output = proc.communicate()
    if proc.returncode != 0:
        raise NodetoolException(output)
    return output[0]
decorator : AT dotted_name LPAR RPAR NEWLINE
dataset/ETHPy150Open datastax/cstar_perf/tool/cstar_perf/tool/benchmark.py/nodetool--crossover with--dataset/ETHPy150Open nucleic/enaml/enaml/core/parser.py/p_decorator2