Re: Cygwin convert environment paths

2020-05-12 Thread Andrey Repin
Greetings, Steven Penny! > I see here: > > That Cygwin does convert some environment variables, from Windows format to > Unix format. For example HOME and TMP. But for me at least, are some important > omissions. > I use APPDATA and PROGRAMFILES

Re: Cygwin convert environment paths

2020-05-10 Thread Achim Gratz
Steven Penny via Cygwin writes: >> That's what cygpath is there for, among other things. > > You expect people to use cygpath... from within PHP? These are neither POSIX or Cygwin variables, so yes, if you expect to use them from Cygwin PHP you either need to explicitly deal with the fact that the

Re: Cygwin convert environment paths

2020-05-10 Thread Doug Henderson via Cygwin
On Sun, 10 May 2020 at 06:46, Steven Penny via Cygwin <> wrote: > > That Cygwin does convert some environment variables, from Windows format to > Unix format. For example HOME and TMP. But for me at least, are some > important > omissions. > > In general, converting environment variable owned b

Re: Cygwin convert environment paths

2020-05-10 Thread Marco Atzeri via Cygwin
Am 10.05.2020 um 17:48 schrieb Steven Penny via Cygwin: That's what cygpath is there for, among other things. You expect people to use cygpath... from within PHP? we expect they can use cygpath to set a cygwin equivalent variable in their own scripts or boot shell scripts $ CYG_HOMEDRIVE=$(c

Re: Cygwin convert environment paths

2020-05-10 Thread Steven Penny via Cygwin
> That's what cygpath is there for, among other things. You expect people to use cygpath... from within PHP? -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygw

Re: Cygwin convert environment paths

2020-05-10 Thread Achim Gratz
Steven Penny via Cygwin writes: > I use APPDATA and PROGRAMFILES a good amount, and those arent converted. To > make > it worse, HOMEDRIVE and SYSTEMDRIVE arent converted either, meaning you cant > manually construct the path starting with a variable. That's what cygpath is there for, among other