diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-28 15:49:45 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:15 -0300 |
| commit | 2868137e34c973a47cbf667a431e885ca23cd9a2 (patch) | |
| tree | 2756597f564038f22f61d77f00598a6c996fcd05 /src/macos/Sources/FileWatcher.swift | |
| parent | 5570377c4997a5abe9f433bc15c927bcde237dc1 (diff) | |
| download | pardes-2868137e34c973a47cbf667a431e885ca23cd9a2.tar.gz pardes-2868137e34c973a47cbf667a431e885ca23cd9a2.zip | |
Tty with a shell that is not there says so, and never sets the caller's shell
Tty /nonexistent or Tty fsh started the host's fallback shell without a word,
and when spawnTty made no pane, the argument became the calling pane's shell.
Tty now looks the shell up first and fails 'Tty: no shell "fsh"' when it is
neither a name on the usual paths nor a path to one; spawnTty answers the pane
it made, the one given the shell, and says why when it made none. The lookup
(host_io Shell.find) gives the turn up around its access() calls, since a
typed path may be under a mount this editor serves, and forkShell copies the
pane's shell before looking it up and checks the pane is still its own after.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/macos/Sources/FileWatcher.swift')
0 files changed, 0 insertions, 0 deletions
