check that subprocess Popen calls succeed