Closed
Bug 1815799
Opened 3 years ago
Closed 3 years ago
Fix fzf preview on Windows
Categories
(Firefox Build System :: General, task)
Firefox Build System
General
Tracking
(firefox111 fixed)
RESOLVED
FIXED
111 Branch
| Tracking | Status | |
|---|---|---|
| firefox111 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
Details
Attachments
(3 files)
See screenshot to what I see, both on msys and on mozillabuild.
| Assignee | ||
Comment 1•3 years ago
|
||
Drive-by, while I was going through this code.
| Assignee | ||
Comment 2•3 years ago
|
||
fzf doesn't quote the preview command arguments, so if you have
windows-style paths given to a unix-style shell, the slashes are
completely gone.
This happens on multiple systems, both with MozillaBuild and external
MSYS2 shell.
fzf respects the SHELL environment variable, so to fix it, execute the
command using cmd.exe on Windows, via $COMSPEC.
Depends on D169264
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7c15a3c17288
Remove unused run_cmd function in fzf.py. r=firefox-build-system-reviewers,ahochheiden
https://hg.mozilla.org/integration/autoland/rev/c4d83a6cced5
Fix fzf preview on Windows. r=firefox-build-system-reviewers,ahochheiden
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7c15a3c17288
https://hg.mozilla.org/mozilla-central/rev/c4d83a6cced5
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox111:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•