microsoft/Terminal

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

Aperta

#4170 aperta il 9 gen 2020

 (5 commenti) (0 reazioni) (0 assegnatari)C++ (9275 fork)batch import
Area-CodeHealthHelp WantedIssue-TaskProduct-Terminal

Metriche repository

Star
 (103.173 stelle)
Metriche merge PR
 (Merge medio 27g 19h) (24 PR mergiate in 30 g)

Descrizione

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

Guida contributor