def run(cmd, args=[], source="", cwd=None, env=None, callback=None):
    if callback:
        thread = threading.Thread(target=lambda cb: cb(_run(cmd, args=args, source=source, cwd=cwd, env=env)), args=(callback,))
        thread.start()
        ThreadProgress(thread, 'Compiling', '')
    else:
        res = _run(cmd, args=args, source=source, cwd=cwd, env=env)
        return res
Process a metric by passing it to GraphiteHandler
dataset/ETHPy150Open lavrton/sublime-better-typescript/TypeScript.py/run--crossover with--dataset/ETHPy150Open BrightcoveOS/Diamond/src/diamond/handler/multigraphite.py/MultiGraphiteHandler.process