Working code with o.system, fix subprocess later.