Use shell=True for all pOpen calls so that it works on windows