microsoft/Terminal

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

Open

#4 170 ouverte le 9 janv. 2020

Voir sur GitHub
 (5 commentaires) (0 réactions) (0 assignés)C++ (3 212 forks)batch import
Area-CodeHealthHelp WantedIssue-TaskProduct-Terminal

Métriques du dépôt

Stars
 (35 764 stars)
Métriques de merge PR
 (Merge moyen 27j 19h) (24 PRs mergées en 30 j)

Description

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

Guide contributeur