pass configs to file_tools for r+w over ssh.

pass TERM env.
default to ~ to in local and ssh backends.
ssh backend.
This commit is contained in:
alt-glitch 2026-03-15 02:26:39 +05:30
parent 9001b34146
commit 7be314c456
4 changed files with 23 additions and 1 deletions

View file

@ -69,6 +69,7 @@ class PersistentShellMixin:
self._drain_thread.start()
init_script = (
f"export TERM=${{TERM:-dumb}}\n"
f"touch {self._pshell_stdout} {self._pshell_stderr} "
f"{self._pshell_status} {self._pshell_cwd} {self._pshell_pid_file}\n"
f"echo $$ > {self._pshell_pid_file}\n"