microsoft / microsoft/WindowsDeveloperConfig
Question about shims
还没有人认领这个 Issue。
- 主要语言
- PowerShell
- 星标
- 2.2k
- 派生
- 168
- 平均合并
- 5 小时 14 分钟
- 30 天内合并 PR
- 5
描述
I have a few questions about the shims used by WSL Comfort (pbcopy, pbpaste, open, etc.):
-
Are these shims intended to provide any kind of isolation or restricted access to Windows executables, or are they only convenience wrappers?
-
If they are only convenience wrappers, what is the recommended way to create custom shims for additional Windows functionality? Is there an intended pattern or extension point for adding custom shims to WSL Comfort?
-
Do these shims work when the following WSL interop settings are used?
[interop]
enabled=false
appendWindowsPath=false
In particular, I'm interested in whether a shim could provide access to a specific Windows executable while preventing general access to Windows executables and the Windows PATH.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先在仓库中定位 WSL Comfort shim 的定义以及任何相关文档。检查 shim 如何调用 Windows 可执行文件、自定义 shim 是否有扩展点,以及 [interop] 设置如何影响它们。完成标准是记录隔离模型、自定义模式,以及在禁用 interop 和禁用追加 Windows PATH 时的行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- powershell
- 领域
- operating-systems
- Issue 类型
- 文档
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100