This is the mail archive of the
cygwin-talk@cygwin.com
mailing list for the cygwin project.
RE: Fixing strace and cygcheck so that they work with mount -X
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'i know what to do about microsfot.....'" <cygwin-talk at cygwin dot com>
- Date: Wed, 11 May 2005 16:47:28 +0100
- Subject: RE: Fixing strace and cygcheck so that they work with mount -X
- Reply-to: Talk Amongst Yourselves <cygwin-talk at cygwin dot com>
----Original Message----
>From: Christopher Faylor
>Sent: 11 May 2005 16:41
> It sounds like you need to read MSDN on CreateProcess and see what it says
> about "lpEnvironment":
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/bas
e/createprocess.asp
>
> cgf
Well, among other things, it says ...
" Each string is in the form:
name=value
Because the equal sign is used as a separator, it must not be used in the
name of an environment variable."
... and then a little later on it also says ...
" For example, there is an environment variable named =C: whose value is the
current directory on drive C. An application must manually pass the current
directory information to the new process. To do so, the application must
explicitly create these environment variable strings, sort them
alphabetically (because the system uses a sorted environment), and put them
into the environment block. "
Sheesh. Those wild and crazy microsoft guys huh? Gotta love 'em.
cheers,
DaveK
--
Can't think of a witty .sigline today....