Do you also care about failures? What if `cmd_out["exit"] != 0` ?
It would be good to either raise an error or at least log it