This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: more info on execvp problem
Pavel Tsekov wrote:
> I was sure there will be a response like this - in short since as we
> both
> agree is posix internally (if noone messed with it) - you get this as
> result
> of getenv("PATH"):
>
> c:/jdk1.3.1/bin:/usr/local/bin:...:c:/usr/local/emacs/bin
Listen carefully: as Chris has already pointed out, that is NOT a posix
path. THIS is a posix path:
/cygdrive/c/jdk1.3.1/bin:/usr/local/bin:...:/cygdrive/c/usr/local/emacs/bin
Or, if you have mounted C:\ as /c (like I do on my boxes):
/c/jdk1.3.3/bin:/usr/local/bin:...:/c/usr/local/emacs/bin
See? There are NO ':' characters EXCEPT the path delimiters in a POSIX
PATH variable.
--Chuck
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/