Various fixes for windows

This commit is contained in:
2026-02-14 13:29:22 +01:00
parent a2af730894
commit bc3ac40cef
7 changed files with 41 additions and 7 deletions

View File

@@ -88,8 +88,9 @@ class TestItemConsoleOpen(TestItemConsoleAction):
terminal_path = self._prms.getParam("terminal_path", processed=True)
if terminal_path is not None:
terminal_path = os.path.normpath(terminal_path)
default_shell = "cmd.exe" if tm.OS() == "Windows" else "/usr/bin/env bash"
terminal_shell = self._prms.getParam(
"shell", default="/usr/bin/env bash", required=False, processed=True
"shell", default=default_shell, required=False, processed=True
)
try:

View File

@@ -1,5 +1,6 @@
import lxml
import lxml.html
import lxml.etree
import html
import interpreter.test_report.report_export as rpe
import interpreter.test_report.test_report as tr