microsoft/PowerToys

[Run] Launching a process starts it in `c:\Program Files\PowerToys` (default working directory)

Open

#3.159 geöffnet am 19. Mai 2020

Auf GitHub ansehen
 (14 Kommentare) (4 Reaktionen) (0 zugewiesene Personen)C# (7.978 Forks)batch import
Help WantedIssue-BugProduct-PowerToys Run

Repository-Metriken

Stars
 (133.154 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 14T 20h) (117 gemergte PRs in 30 T)

Beschreibung

Environment

Windows build number: `_dep.200508`
PowerToys version: 0.18
PowerToy module for which you are reporting the bug (if applicable): Launcher

Steps to reproduce

  • Configure your default profile in the Windows Terminal to not have a startingDirectory, so that the Terminal will use your current path as the starting directory.
  • Run > wt to launch the terminal

Expected behavior

When I run programs in the Win+R run dialog, they use C:\windows\system32 as the CWD.

This is probably expected, but I was definitely a little surprised. I think the best solution might be letting the user set the CWD to use for launched processes, instead of defaulting to ...\PowerToys\

Contributor Guide