Working again?  Benchmarks, maybe.
Using subprocess module instead of sh, should run a trial.