I recommend using `IO.popen` (or popen3) instead of backticks.