def exec_cmd(cmd):
    s = subprocess.check_output(cmd)
    if s:
        s = re.sub('\n$','',s)
    return s
Get the private IP of the current machine.
dataset/ETHPy150Open sk1418/retmux/tmuxbk/util.py/exec_cmd--crossover with--dataset/ETHPy150Open AppScale/appscale/lib/appscale_info.py/get_private_ip