Closed
Bug 1906931
Opened 1 year ago
Closed 3 months ago
Update start-shell.bat to not use MinTTY when invoked from inside Windows Terminal
Categories
(Firefox Build System :: MozillaBuild, task, P3)
Firefox Build System
MozillaBuild
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ahochheiden, Assigned: ahochheiden)
References
Details
Attachments
(1 file)
Instead of instructing users to manually add "USE_MINTTY": "0"
to a Windows Terminal profile, we could set it to 0
if we detect we're invoked from within Windows Terminal.
Proof of concept code snippet:
powershell -Command "if ($env:WT_SESSION) { exit 0 } else { exit 1 }"
if %errorlevel% equ 0 (
echo Running in Windows Terminal
) else (
echo Not running in Windows Terminal
)
Just need to adjust it to be within the IF NOT DEFINED USE_MINTTY
block (so that we don't override a user preference, if set).
Assignee | ||
Updated•1 year ago
|
Severity: -- → S3
Priority: -- → P3
Assignee | ||
Comment 1•3 months ago
|
||
Pushed by ahochheiden@mozilla.com:
https://hg.mozilla.org/mozilla-build/rev/55f42a7a2755
Update start-shell.bat to not use MinTTY when invoked from inside Windows Terminal r=firefox-build-system-reviewers,glandium
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•