You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DefaultShellCommandOption registry key has a size limit of 15 characters. This seems unreasonably small especially since DefaultShellArguments has a much larger limit and its contents are not used for a non-interactive shell, so a lot of what is in there has to be duplicated.
For instance, if I wanted to configure OpenSSH to use MSYS2 without creating a helper script, this is what my registry keys would look like:
Summary of the new feature / enhancement
The
DefaultShellCommandOption
registry key has a size limit of 15 characters. This seems unreasonably small especially sinceDefaultShellArguments
has a much larger limit and its contents are not used for a non-interactive shell, so a lot of what is in there has to be duplicated.For instance, if I wanted to configure OpenSSH to use MSYS2 without creating a helper script, this is what my registry keys would look like:
Proposed technical implementation details (optional)
This PR increases the limit to the same value as
DefaultShellArguments
, which is currentlyPATH_MAX / 2 - 1
.The text was updated successfully, but these errors were encountered: