From: Eric Blake Date: Wed, 25 Aug 2010 14:22:49 GMT Subject: Re: Fix 'git log' early pager startup error case Message-ID: <4C752739.3010808@redhat.com> In-Reply-To: <4C74BFA7.1090907@viscovery.net> On 08/25/2010 01:00 AM, Johannes Sixt wrote: > Am 8/25/2010 3:36, schrieb Jonathan Nieder: >> Mingw Git uses spawnvpe now, but Cygwin users might still suffer from >> fork() troubles. I think it should be possible to work around that by >> using posix_spawn() from start_command() on such platforms (or >> someting similar). > > Just FYI, posix_spawn() is not sufficiently capable for the demands of > start_command(): It doesn't allow to set a new CWD for the spawned process. And even if posix_spawn() were capable, cygwin doesn't yet implement it. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org