-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Ralf Wildenhues on 9/29/2008 1:32 PM:
>>      Propagate effects of putenv/setenv/unsetenv to child processes.
>>      * lib/execute.c (execute): Use spawnvpe instead of spawnvp.
>>      * lib/pipe.c (create_pipe): Likewise.
> 
> Nice!  Do you happen to know whether spawnvp* exposes the command line
> length limit on w32, and if yes, is that the roughly 8KB?  Does this
> change have the expected impact on maximum length?

My understanding is that W32 has a combined 32k limit on arguments +
environment, whether you get the inherited environment from spawnvp or the
new environment in spawnvpe.  The maximum command line length thus depends
on how loaded environ is, but sticking to a length of 8k is usually safe.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjhcTEACgkQ84KuGfSFAYAYvwCg0rn56PdlMmROEJH3tyEUkCQb
L+sAnj+n0Vbjp7FXSjwQys91D7GXXGtc
=r+17
-----END PGP SIGNATURE-----


Reply via email to