Re: Strange behavior when executing programs

2022-12-14 Thread Corinna Vinschen via Cygwin
On Dec 14 06:38, Frank Redeker via Cygwin wrote: > > > Am 12/13/2022 um 10:51 AM schrieb Corinna Vinschen: > > On Dec 12 14:09, Corinna Vinschen via Cygwin wrote: > > > On Dec 12 13:46, Frank Redeker via Cygwin wrote: > > > > Am 12/12/2022 um 1:12 PM schrieb Corinna Vinschen: > > > > > On Dec 12

Re: Strange behavior when executing programs

2022-12-13 Thread Frank Redeker via Cygwin
Am 12/13/2022 um 10:51 AM schrieb Corinna Vinschen: On Dec 12 14:09, Corinna Vinschen via Cygwin wrote: On Dec 12 13:46, Frank Redeker via Cygwin wrote: Am 12/12/2022 um 1:12 PM schrieb Corinna Vinschen: On Dec 12 11:21, Frank Redeker via Cygwin wrote: $ pwd /cygdrive/s/ado $ realpath

Re: Strange behavior when executing programs

2022-12-13 Thread Oskar Skog via Cygwin
On 2022-12-13 18:54, Jon Turney via Cygwin wrote: On 13/12/2022 16:35, Frank Redeker via Cygwin wrote: I tried to install in fresh VM without success. (No AV installed and the Windows Firewall is off) [...] 2022/12/13 17:04:55 net: Direct Cached mirror list unavailable User-Agent: default

Re: Strange behavior when executing programs

2022-12-13 Thread Jon Turney via Cygwin
On 13/12/2022 16:35, Frank Redeker via Cygwin wrote: I tried to install in fresh VM without success. (No AV installed and the Windows Firewall is off) [...] 2022/12/13 17:04:55 net: Direct Cached mirror list unavailable User-Agent: default is "Cygwin-Setup/2.924 (Windows NT

Re: Strange behavior when executing programs

2022-12-13 Thread Frank Redeker via Cygwin
Am 12/13/2022 um 3:15 PM schrieb Corinna Vinschen: On Dec 13 13:54, Frank Redeker via Cygwin wrote: Am 12/13/2022 um 10:51 AM schrieb Corinna Vinschen: On Dec 12 14:09, Corinna Vinschen via Cygwin wrote: On Dec 12 13:46, Frank Redeker via Cygwin wrote: Am 12/12/2022 um 1:12 PM schrieb

Re: Strange behavior when executing programs

2022-12-13 Thread Corinna Vinschen via Cygwin
On Dec 13 13:54, Frank Redeker via Cygwin wrote: > > > Am 12/13/2022 um 10:51 AM schrieb Corinna Vinschen: > > On Dec 12 14:09, Corinna Vinschen via Cygwin wrote: > > > On Dec 12 13:46, Frank Redeker via Cygwin wrote: > > > > Am 12/12/2022 um 1:12 PM schrieb Corinna Vinschen: > > > > > On Dec 12

Re: Strange behavior when executing programs

2022-12-13 Thread Frank Redeker via Cygwin
Am 12/13/2022 um 10:51 AM schrieb Corinna Vinschen: On Dec 12 14:09, Corinna Vinschen via Cygwin wrote: On Dec 12 13:46, Frank Redeker via Cygwin wrote: Am 12/12/2022 um 1:12 PM schrieb Corinna Vinschen: On Dec 12 11:21, Frank Redeker via Cygwin wrote: $ pwd /cygdrive/s/ado $ realpath

Re: Strange behavior when executing programs

2022-12-13 Thread Corinna Vinschen via Cygwin
On Dec 12 14:09, Corinna Vinschen via Cygwin wrote: > On Dec 12 13:46, Frank Redeker via Cygwin wrote: > > Am 12/12/2022 um 1:12 PM schrieb Corinna Vinschen: > > > On Dec 12 11:21, Frank Redeker via Cygwin wrote: > > > > $ pwd > > > > /cygdrive/s/ado > > > > > > > > $ realpath

Re: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Frank Redeker via Cygwin
Am 12/12/2022 um 4:41 PM schrieb Corinna Vinschen via Cygwin: On Dec 12 15:22, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: Sorry about the earlier typos (and, hence, I suppose for the purposes of the OP). and, hence, I suppose, *would work* for the purposes of the OP. Since

Re: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Corinna Vinschen via Cygwin
On Dec 12 16:42, Corinna Vinschen via Cygwin wrote: > On Dec 12 15:29, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > > The problem is that resolved paths may become longer than MAX_PATH. > > > > Oh... But that'd be the same on any other OS that exceeds MAX_PATH, > > symlinking is

Re: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Corinna Vinschen via Cygwin
On Dec 12 15:29, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > The problem is that resolved paths may become longer than MAX_PATH. > > Oh... But that'd be the same on any other OS that exceeds MAX_PATH, > symlinking is going to help work around that, > if the full path resolution

Re: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Corinna Vinschen via Cygwin
On Dec 12 15:22, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > Sorry about the earlier typos > > > (and, hence, I suppose for the purposes of the OP). > > and, hence, I suppose, *would work* for the purposes of the OP. > > > Since realpath is supposed to resolve all symlinks, > > I

RE: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
Was supposed to be: > symlinking is *NOT* going to help work around that Sorry I am struggling with MS Outlook this morning Anton Lavrentiev Contractor NIH/NLM/NCBI -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

RE: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> The problem is that resolved paths may become longer than MAX_PATH. Oh... But that'd be the same on any other OS that exceeds MAX_PATH, symlinking is going to help work around that, if the full path resolution was requested. BTW, about MAX_PATH -- was it Cygwin's or Windows'? If the former,

RE: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
ct: RE: [EXTERNAL] Re: Strange behavior when executing programs > > > Let's consider this problem again, but I don't see a quick and easy > > solution. > > $ realpath /cygdrive/s/ado/msadox.dll > /cygdrive/s/ado/msadox.dll<== IMO the problem is actually he

Re: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Corinna Vinschen via Cygwin
On Dec 12 14:52, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: > > Let's consider this problem again, but I don't see a quick and easy > > solution. > > $ realpath /cygdrive/s/ado/msadox.dll > /cygdrive/s/ado/msadox.dll<== IMO the problem is actually here > > $ realpath

RE: [EXTERNAL] Re: Strange behavior when executing programs

2022-12-12 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> Let's consider this problem again, but I don't see a quick and easy > solution. $ realpath /cygdrive/s/ado/msadox.dll /cygdrive/s/ado/msadox.dll<== IMO the problem is actually here $ realpath msadox.dll /cygdrive/c/Program Files/Common Files/System/ado/msadox.dll Both paths

Re: Strange behavior when executing programs

2022-12-12 Thread Corinna Vinschen via Cygwin
On Dec 12 13:46, Frank Redeker via Cygwin wrote: > Am 12/12/2022 um 1:12 PM schrieb Corinna Vinschen: > > On Dec 12 11:21, Frank Redeker via Cygwin wrote: > > > $ pwd > > > /cygdrive/s/ado > > > > > > $ realpath /cygdrive/s/ado/msadox.dll > > > /cygdrive/s/ado/msadox.dll > > > > > > $ realpath

Re: Strange behavior when executing programs

2022-12-12 Thread Frank Redeker via Cygwin
Am 12/12/2022 um 1:12 PM schrieb Corinna Vinschen: On Dec 12 11:21, Frank Redeker via Cygwin wrote: $ pwd /cygdrive/s/ado $ realpath /cygdrive/s/ado/msadox.dll /cygdrive/s/ado/msadox.dll $ realpath msadox.dll /cygdrive/c/Program Files/Common Files/System/ado/msadox.dll Is there any way to

Re: Strange behavior when executing programs

2022-12-12 Thread Corinna Vinschen via Cygwin
On Dec 12 11:21, Frank Redeker via Cygwin wrote: > $ pwd > /cygdrive/s/ado > > $ realpath /cygdrive/s/ado/msadox.dll > /cygdrive/s/ado/msadox.dll > > $ realpath msadox.dll > /cygdrive/c/Program Files/Common Files/System/ado/msadox.dll > > > Is there any way to restore the old behavior. Since

Strange behavior when executing programs

2022-12-12 Thread Frank Redeker via Cygwin
Hello List, I have a strange behavior when the executing a program in a shell. I'm on Windows 10 Version 22H2 (OS Build 19045.2251). The strange behavior occurs when the current directory is on a drive created with subst. Originally I found the problem in a MSYS shell and already reported the