microsoft/Terminal

Investigate and ensure `wt.exe` is always `argv[0]`

开放

#4,170 创建于 2020年1月9日

 (5 条评论) (0 个反应) (0 位负责人)C++ (9,275 个派生)batch import
Area-CodeHealthHelp WantedIssue-TaskProduct-Terminal

仓库指标

星标
 (103,173 个星标)
PR 合并指标
 (平均合并 27天 19小时) (30 天内合并 24 个 PR)

描述

I have seen Windows executables receive arguments BOTH ways. I don't know what the circumstance is offhand that makes it happen one way or the other. You will want to deal with both the presence and absence of your own executable name at argv[0].

Originally posted by @miniksa in https://github.com/microsoft/terminal/pull/4023

If it's not, then we'll need to mitigate this somehow, since we're leaning on that pretty hard at the moment

贡献者指南