microsoft/Terminal

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

Open

#4170 aperta il 9 gen 2020

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)C++ (3212 fork)batch import
Area-CodeHealthHelp WantedIssue-TaskProduct-Terminal

Metriche repository

Star
 (35.764 star)
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