Skip to content

launch.c: replaced "/c/windows/explorer.exe" with just "explorer.exe"#1466

Open
tobybear wants to merge 1 commit intojart:masterfrom
tobybear:launch-patch
Open

launch.c: replaced "/c/windows/explorer.exe" with just "explorer.exe"#1466
tobybear wants to merge 1 commit intojart:masterfrom
tobybear:launch-patch

Conversation

@tobybear
Copy link
Contributor

In launch.c, when run under Windows, the following command is launched:

cmd = "/c/windows/explorer.exe";

However the Windows main folder is not always located in C:\Windows, it can be on a different drive and (less common) also have different folder name, so a call to "/c/windows/explorer.exe" might fail. But since explorer.exe on Windows is in the global path, the posix_spawnp call does not need an absolute path anyway and "explorer.exe" is enough and more universal.

@github-actions github-actions bot added the tool label Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant