On 28.05.2009 17:21, jvlad wrote:
> Why not to enhance semantic of exec() and backticks functions? Why not to
> run child process with copy of $_ENV[] instead of current process
> envrironment?
Most likely because nobody uses (and cares of) multithreaded servers.
But a patch would be welcome, I g
>> Recently I faced with one funny problem in PHP. Seems there is no way to
>> run
>> a sub-process using exec() (or backticks), and pass there specially
>> crafted environment without affecting all running threads. As soon as I
>> update the environment, all other threads see the change. It's
>>
2009/5/24 jvlad :
> Hi all,
>
> Recently I faced with one funny problem in PHP. Seems there is no way to run
> a sub-process using shell_exec() (or backticks), and pass there specially
> crafted environment without affecting all running threads. As soon as I
> update the environment, all other thre
Hi all,
Recently I faced with one funny problem in PHP. Seems there is no way to run
a sub-process using shell_exec() (or backticks), and pass there specially
crafted environment without affecting all running threads. As soon as I
update the environment, all other threads see the change. It's