chore: wrap the work folder error line

This commit is contained in:
Abdessamad Derraz committed 2026-10-23 21:11:45 +02:00
1 parent d297cc3ff6
commit 67a6ad3e32
3 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -12737,7 +12737,8 @@ def run_tui(args: argparse.Namespace) -> int:
except OSError as exc:
_restore_handlers(handlers)
print(f"Error: no work folder could be made in {tempfile.gettempdir()}: {exc}. "
"Free some space there, or point TMPDIR (TEMP on Windows) at another folder.", file=sys.stderr)
"Free some space there, or point TMPDIR (TEMP on Windows) at another "
"folder.", file=sys.stderr)
return 1
try:
(work / TUI_OWNER).write_text(str(os.getpid()), encoding="utf-8")