Use proc_open instead of glorified backticks