debug capture_subprocess_test