def _start_subprocess_for_result(cmd):
    task = subprocess.Popen(cmd, stdout=subprocess.PIPE,
                            stderr=subprocess.PIPE)
    out, err = task.communicate()
    return out, err
Starts subprocess and returns (stdout, stderr)
dataset/ETHPy150Open oppia/oppia/scripts/pre_push_hook.py/_start_subprocess_for_result