DF8203: Failed To Spawn PTY Session
Failed to spawn PTY session for "{command}": {reason}
Message
Failed to spawn PTY session for "{command}":{reason}
Cause
ctx.terminals.startPtySession() could not launch the requested command in a
pseudo-terminal — for example the executable was not found, the working
directory does not exist, or spawning was denied by the OS.
Fix
- Verify the
commandresolves onPATH(or pass an absolute path) and thatcwdexists. - Check the accompanying
reasonfor the underlying spawn error.
Source
packages/hub/src/node/host-terminals.ts—DevframeTerminalsHost.startPtySession()throws this when the initialzigptyspawn fails.