| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
This PR has 5 quantified lines of changes. In general, a change size of upto 200 lines is ideal for the best PR experience! Quantification details
Label : Extra Small Size : +0 -5 Percentile : 2% Total files changed: 1 Change summary by file extension: .cs : +0 -5 Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
I still think in leau of a public API for AppExecLinks we should delay the checking of the exe type to after the process has started. This results in Windows doing the resolution for you. |
Sorry, something went wrong.
|
Thanks Jordan Borean (@jborean93) for finding that workaround -- I learnt something new from you :) The biggest concern I have with that approach is that we need to call native APIs to start a process, and that may break the native arguments parsing/passing work we have done in 7.2 (the PSNativeCommandArgumentPassing experimental feature), because that work depends on the .NET ProcessStartInfo.ArgumentList. Also, there could be other problems due to the complexity introduced by that solution. Steve Lee (@SteveL-MSFT) started another conversation with the Windows Store team. We will see how that goes. |
Sorry, something went wrong.
|
I think the best solution is - we could get an public API we need with AppX module (if the module can do some operations with AppX it could tell whether an AppX console or GUI and so on). But WinRT was removed from .Net Runtime and now the module doesn't work in pwsh. So we need primarily new component to plug-in WinRT and than updated AppX module. |
Sorry, something went wrong.
|
🎉v7.3.0-preview.1 has been released which incorporates this pull request.:tada: Handy links: |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
As discussed in #16295 we will not get public API for AppX from Windows team so we should remove our workaround for AppX. See #16295 (comment) for details.
As for the symbolic link, it's not well handled in NativeCommandProcessor on Windows today, and that's tracked by #16171.
(Ideally we would need a public AppX API to detect whether the application is a console one or Windows GUI.)
PR Context
PR Checklist