bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: execute, pipe: pass environment variables


From: Ralf Wildenhues
Subject: Re: execute, pipe: pass environment variables
Date: Mon, 29 Sep 2008 21:32:16 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Bruno,

* Bruno Haible wrote on Mon, Sep 29, 2008 at 03:26:42PM CEST:
> This changes execute() and create_pipe_*() so that they pass the environment
> 'environ' to child processes, like on Unix.
> 
> 2008-09-29  Bruno Haible  <address@hidden>
> 
>       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?

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]