[fpc-devel]TProcess doesn't set environment variables correct in win32

2004-02-02 Thread Vincent Snijders
Hi, I noticed that TProcess sets the environment variables the same way on win32 as on unix systems. This is not correct. On win32 the environment is a block of zero terminated strings terminated by a #0. Attached is patch for process.pp, as a hint to show how this bug can be fixed. BTW, at

Re: [fpc-devel]TProcess doesn't set environment variables correct in win32

2004-02-02 Thread Michael . VanCanneyt
On Mon, 2 Feb 2004, Vincent Snijders wrote: Hi, I noticed that TProcess sets the environment variables the same way on win32 as on unix systems. This is not correct. On win32 the environment is a block of zero terminated strings terminated by a #0. Attached is patch for process.pp,