def runCommand(args, cwd=None):
    process = Popen(args, stdout=PIPE, stderr=STDOUT, cwd=cwd)
    stdout = process.stdout.read()
    exitCode = process.wait()
    if exitCode < 0:
        raise CommandFailed(None, -exitCode, stdout)
    elif exitCode > 0:
        raise CommandFailed(exitCode, None, stdout)
    return stdout
Test to nesure not statements are correct handled in a jiphy
dataset/ETHPy150Open twisted/twisted/twisted/python/_release.py/runCommand--crossover with--dataset/ETHPy150Open timothycrosley/jiphy/test_jiphy.py/test_not