Re: [PATCH v2 0/2] Handle "app execution aliases"

2021-03-23 Thread Johannes Schindelin
Hi Corinna, On Tue, 23 Mar 2021, Corinna Vinschen wrote: > On Mar 22 16:51, Johannes Schindelin via Cygwin-patches wrote: > > When installing e.g. Python via the Windows Store, it is common that the > > `python3.exe` entry in the `PATH` is not actually an executable at all, > > but an "app execut

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-23 Thread Brian Inglis
On 2021-03-23 07:09, Jon Turney wrote: On 23/03/2021 12:44, Corinna Vinschen via Cygwin-patches wrote: On Mar 23 21:32, Takashi Yano via Cygwin-patches wrote: On Tue, 23 Mar 2021 13:17:16 +0100 Corinna Vinschen wrote: On Mar 23 20:57, Takashi Yano via Cygwin-patches wrote: Corinna Vinschen wr

Re: [PATCH v2 0/2] Handle "app execution aliases"

2021-03-23 Thread Corinna Vinschen
On Mar 22 16:51, Johannes Schindelin via Cygwin-patches wrote: > When installing e.g. Python via the Windows Store, it is common that the > `python3.exe` entry in the `PATH` is not actually an executable at all, > but an "app executaion alias" (i.e. a special class of reparse point). > > These fil

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-23 Thread Corinna Vinschen
On Mar 23 16:21, ASSI wrote: > Jon Turney writes: > > 'run' is used by the start menu item which starts the X server. > > > > If that doesn't use it, a visible console window is created for the > > bash process it starts (which is the parent of the X server process > > and lives for it's lifetime).

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-23 Thread ASSI
Jon Turney writes: > 'run' is used by the start menu item which starts the X server. > > If that doesn't use it, a visible console window is created for the > bash process it starts (which is the parent of the X server process > and lives for it's lifetime). > > (As a separate issue, I'm not sure a

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-23 Thread Corinna Vinschen
On Mar 23 22:51, Takashi Yano wrote: > On Tue, 23 Mar 2021 14:32:39 +0100 > Corinna Vinschen wrote: > > On Mar 23 21:52, Takashi Yano via Cygwin-patches wrote: > > > On Tue, 23 Mar 2021 21:42:06 +0900 > > > Takashi Yano wrote: > > > > On Tue, 23 Mar 2021 21:32:12 +0900 > > > > Takashi Yano wrote: >

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-23 Thread Takashi Yano
On Tue, 23 Mar 2021 14:32:39 +0100 Corinna Vinschen wrote: > On Mar 23 21:52, Takashi Yano via Cygwin-patches wrote: > > On Tue, 23 Mar 2021 21:42:06 +0900 > > Takashi Yano wrote: > > > On Tue, 23 Mar 2021 21:32:12 +0900 > > > Takashi Yano wrote: > > > > I try to check run.exe behaviour and noticed

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-23 Thread Corinna Vinschen
On Mar 23 21:52, Takashi Yano via Cygwin-patches wrote: > On Tue, 23 Mar 2021 21:42:06 +0900 > Takashi Yano wrote: > > On Tue, 23 Mar 2021 21:32:12 +0900 > > Takashi Yano wrote: > > > I try to check run.exe behaviour and noticed that > > > run cmd.exe > > > and > > > run cat.exe > > > does not work

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-23 Thread Jon Turney
On 23/03/2021 12:44, Corinna Vinschen via Cygwin-patches wrote: On Mar 23 21:32, Takashi Yano via Cygwin-patches wrote: On Tue, 23 Mar 2021 13:17:16 +0100 Corinna Vinschen wrote: On Mar 23 20:57, Takashi Yano via Cygwin-patches wrote: Corinna Vinschen wrote: On Mar 22 08:07, Takashi Yano via

test2

2021-03-23 Thread Corinna Vinschen
please ignore

test

2021-03-23 Thread Corinna Vinschen via Cygwin-patches
please ignore

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-23 Thread Takashi Yano via Cygwin-patches
On Tue, 23 Mar 2021 21:42:06 +0900 Takashi Yano wrote: > On Tue, 23 Mar 2021 21:32:12 +0900 > Takashi Yano wrote: > > I try to check run.exe behaviour and noticed that > > run cmd.exe > > and > > run cat.exe > > does not work with cygwin 3.0.7 and 3.2.0 (TEST) while these > > work in 3.1.7. > > In

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-23 Thread Corinna Vinschen via Cygwin-patches
On Mar 23 21:42, Takashi Yano via Cygwin-patches wrote: > On Tue, 23 Mar 2021 21:32:12 +0900 > Takashi Yano wrote: > > I try to check run.exe behaviour and noticed that > > run cmd.exe > > and > > run cat.exe > > does not work with cygwin 3.0.7 and 3.2.0 (TEST) while these > > work in 3.1.7. > > I

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-23 Thread Corinna Vinschen via Cygwin-patches
On Mar 23 21:32, Takashi Yano via Cygwin-patches wrote: > On Tue, 23 Mar 2021 13:17:16 +0100 > Corinna Vinschen wrote: > > On Mar 23 20:57, Takashi Yano via Cygwin-patches wrote: > > > Corinna Vinschen wrote: > > > > > > On Mar 22 08:07, Takashi Yano via Cygwin-patches wrote: > > > > > > > > And al

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-23 Thread Takashi Yano via Cygwin-patches
On Tue, 23 Mar 2021 21:32:12 +0900 Takashi Yano wrote: > I try to check run.exe behaviour and noticed that > run cmd.exe > and > run cat.exe > does not work with cygwin 3.0.7 and 3.2.0 (TEST) while these > work in 3.1.7. In obove cases, cmd.exe and cat.exe is running in *hidden* console, therefore

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-23 Thread Takashi Yano via Cygwin-patches
On Tue, 23 Mar 2021 13:17:16 +0100 Corinna Vinschen wrote: > On Mar 23 20:57, Takashi Yano via Cygwin-patches wrote: > > Corinna Vinschen wrote: > > > > > On Mar 22 08:07, Takashi Yano via Cygwin-patches wrote: > > > > > > > And also, following cygwin apps/dlls call GetStdHandle(): > > > > > > > cc

Re: [PATCH] Cygwin: pty: Rename input/output named pipes.

2021-03-23 Thread Corinna Vinschen via Cygwin-patches
On Mar 23 20:50, Takashi Yano via Cygwin-patches wrote: > - Currently, names of output pipes are "pty%d-to-master" and "pty%d- > to-master-cyg" and names of input pipes are "pty%d-to-slave" and > "pty%d-from-master". With this patch, these pipes are renamed to > "pty%d-to-master-nat", "pty%d-

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-23 Thread Corinna Vinschen via Cygwin-patches
On Mar 23 20:57, Takashi Yano via Cygwin-patches wrote: > Corinna Vinschen wrote: > > > > On Mar 22 08:07, Takashi Yano via Cygwin-patches wrote: > > > > > > And also, following cygwin apps/dlls call GetStdHandle(): > > > > > > ccmake.exe > > > > > > cmake.exe > > > > > > cpack.exe > > > > > > ctes

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-23 Thread Takashi Yano via Cygwin-patches
On Tue, 23 Mar 2021 11:10:04 +0100 Corinna Vinschen wrote: > [CC Marco, CC Jan] > > On Mar 22 13:02, Ken Brown via Cygwin-patches wrote: > > [Still CC Marco] > > > > On 3/22/2021 7:43 AM, Corinna Vinschen via Cygwin-patches wrote: > > > [CC Marco] > > > > > > On Mar 22 08:07, Takashi Yano via Cy

[PATCH] Cygwin: pty: Rename input/output named pipes.

2021-03-23 Thread Takashi Yano via Cygwin-patches
- Currently, names of output pipes are "pty%d-to-master" and "pty%d- to-master-cyg" and names of input pipes are "pty%d-to-slave" and "pty%d-from-master". With this patch, these pipes are renamed to "pty%d-to-master-nat", "pty%d-to-master", "pty%d-from-master-nat" and "pty%d-from-master" re

Re: [PATCH] Cygwin: pty: Rename input named pipes.

2021-03-23 Thread Takashi Yano via Cygwin-patches
On Tue, 23 Mar 2021 10:32:34 +0100 Corinna Vinschen wrote: > On Mar 23 09:38, Takashi Yano via Cygwin-patches wrote: > > On Mon, 22 Mar 2021 12:49:20 +0100 > > Corinna Vinschen wrote: > > > Hi Takashi, > > > > > > On Mar 21 12:59, Takashi Yano via Cygwin-patches wrote: > > > > - Currently, the nam

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-23 Thread Corinna Vinschen via Cygwin-patches
[CC Marco, CC Jan] On Mar 22 13:02, Ken Brown via Cygwin-patches wrote: > [Still CC Marco] > > On 3/22/2021 7:43 AM, Corinna Vinschen via Cygwin-patches wrote: > > [CC Marco] > > > > On Mar 22 08:07, Takashi Yano via Cygwin-patches wrote: > > > On Sun, 21 Mar 2021 17:44:27 +0900 > > > Takashi Ya

Re: [PATCH] Cygwin: pty: Rename input named pipes.

2021-03-23 Thread Corinna Vinschen via Cygwin-patches
On Mar 23 09:38, Takashi Yano via Cygwin-patches wrote: > On Mon, 22 Mar 2021 12:49:20 +0100 > Corinna Vinschen wrote: > > Hi Takashi, > > > > On Mar 21 12:59, Takashi Yano via Cygwin-patches wrote: > > > - Currently, the name of input pipe is "pty-from-master" for > > > cygwin process, and

Re: [PATCH 1/2] Treat Windows Store's "app execution aliases" as symbolic links

2021-03-23 Thread Corinna Vinschen via Cygwin-patches
On Mar 22 22:54, Hans-Bernhard Bröker wrote: > Am 22.03.2021 um 16:22 schrieb Johannes Schindelin: > > One of those under-documented reparse point types is the WSL symbolic > > link, which you will notice are supported in Cygwin, removing quite some > > sway from your argument... > > I notice no s