avoid subprocess.DEVNULL (for 3.2 compatibility)