[tor-commits] [tor/master] Tidy up subprocess code