popen2 is deprecated in favor of subprocess, but not available in python-1.5.2, so