Files
DeepTutor/tests/services/sandbox
RRFZ 83464cdf8e fix(sandbox): give executed code its home and temp folders on Windows
RestrictedSubprocessBackend passes HOME and TMPDIR through to model-run
code but not their Windows counterparts. On Windows HOME is normally
unset, so code run by the exec tool got no home folder: Path.home()
raised "Could not determine home directory", "~" stayed unexpanded
(libraries then create a literal "~" folder in the workspace), and
tempfile fell back to C:\Windows\Temp.

Also keep USERPROFILE, TEMP and TMP. They name folders, not secrets.
2026-10-31 21:49:02 -04:00
..
2026-07-31 00:25:48 +08:00