On Tue, Jul 22, 2008 at 12:44:00AM -0400, Jeff King wrote: > We could also swap the parent/child relationship, and have the pager as > child. But I assume that it is done the way we have it because otherwise > the shell gets confused about when the command ends (i.e., we want it to > run until pager completion). I didn't test, though. Hmm, it looks like the MINGW32 codepath already _does_ spawn in that order, but has a "wait_for_child" atexit handler. I wonder if there is a reason all platforms can't use that trick (though the mingw approach uses run_command, which makes it harder to do the "wait for input before starting less" trick). -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html