adjust Popen call.