Re: [PATCH 1/1] cygwin: use CREATE_DEFAULT_ERROR_MODE in spawn

2020-12-09 Thread Corinna Vinschen via Cygwin-patches
On Dec 8 11:58, Jeremy Drake via Cygwin-patches wrote: > On Tue, 8 Dec 2020, Jon Turney wrote: > > On 07/12/2020 09:43, Corinna Vinschen wrote: > > > On Dec 4 10:35, Jeremy Drake via Cygwin-patches wrote: > > > > On Fri, 4 Dec 2020, Corinna Vinschen via Cygwin-patches wrote: > > > > > > > > > I'm

Re: [PATCH 1/1] cygwin: use CREATE_DEFAULT_ERROR_MODE in spawn

2020-12-08 Thread Jeremy Drake via Cygwin-patches
On Tue, 8 Dec 2020, Jon Turney wrote: > On 07/12/2020 09:43, Corinna Vinschen wrote: > > On Dec 4 10:35, Jeremy Drake via Cygwin-patches wrote: > > > On Fri, 4 Dec 2020, Corinna Vinschen via Cygwin-patches wrote: > > > > > > > I'm not happy about a new CYGWIN option. > > > > > > > > Wouldn't it ma

Re: [PATCH 1/1] cygwin: use CREATE_DEFAULT_ERROR_MODE in spawn

2020-12-08 Thread Jon Turney
On 07/12/2020 09:43, Corinna Vinschen wrote: On Dec 4 10:35, Jeremy Drake via Cygwin-patches wrote: On Fri, 4 Dec 2020, Corinna Vinschen via Cygwin-patches wrote: I'm not happy about a new CYGWIN option. Wouldn't it make sense, perhaps, to switch to CREATE_DEFAULT_ERROR_MODE for all non-Cygw

Re: [PATCH 1/1] cygwin: use CREATE_DEFAULT_ERROR_MODE in spawn

2020-12-07 Thread Corinna Vinschen via Cygwin-patches
On Dec 4 10:35, Jeremy Drake via Cygwin-patches wrote: > On Fri, 4 Dec 2020, Corinna Vinschen via Cygwin-patches wrote: > > > I'm not happy about a new CYGWIN option. > > > > Wouldn't it make sense, perhaps, to switch to CREATE_DEFAULT_ERROR_MODE > > for all non-Cygwin processes by default instea

Re: [PATCH 1/1] cygwin: use CREATE_DEFAULT_ERROR_MODE in spawn

2020-12-04 Thread Jeremy Drake via Cygwin-patches
On Fri, 4 Dec 2020, Corinna Vinschen via Cygwin-patches wrote: > I'm not happy about a new CYGWIN option. > > Wouldn't it make sense, perhaps, to switch to CREATE_DEFAULT_ERROR_MODE > for all non-Cygwin processes by default instead? In fact, my first iteration was to set that flag unconditionally

Re: [PATCH 1/1] cygwin: use CREATE_DEFAULT_ERROR_MODE in spawn

2020-12-04 Thread Corinna Vinschen via Cygwin-patches
Hi Jeremy, On Dec 3 13:21, Jeremy Drake via Cygwin-patches wrote: > if a new CYGWIN/MSYS environment option `winjitdebug` is true, allowing > native subprocesses to get Windows-default error handling behavior (such > as invoking the registered JIT debugger). Cygwin processes will quickly > set t

[PATCH 1/1] cygwin: use CREATE_DEFAULT_ERROR_MODE in spawn

2020-12-03 Thread Jeremy Drake via Cygwin-patches
if a new CYGWIN/MSYS environment option `winjitdebug` is true, allowing native subprocesses to get Windows-default error handling behavior (such as invoking the registered JIT debugger). Cygwin processes will quickly set their error mode on start, so getting JIT debugging for them will still requi