claude-print/src
jedarden 4a38e8f6a3 Phase 2: implement PTY open and fork in pty.rs
Adds PtySpawner struct that calls openpty() for master/slave fds, forks,
and runs login_tty on the child side before it exits. Fixes nix feature
flag (pty module is gated by `term`, not a `pty` feature in nix 0.29).
Adds mock-claude workspace stub so the workspace resolves cleanly.

Unit test: fork_and_login_tty_does_not_panic passes (child exits 0).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 16:38:14 -04:00
..
cli.rs Phase 1: crate scaffold with CLI, config, and error types 2026-06-07 16:00:19 -04:00
config.rs Phase 1: crate scaffold with CLI, config, and error types 2026-06-07 16:00:19 -04:00
error.rs Phase 1: crate scaffold with CLI, config, and error types 2026-06-07 16:00:19 -04:00
lib.rs Phase 2: implement PTY open and fork in pty.rs 2026-06-07 16:38:14 -04:00
main.rs Phase 1: crate scaffold with CLI, config, and error types 2026-06-07 16:00:19 -04:00
pty.rs Phase 2: implement PTY open and fork in pty.rs 2026-06-07 16:38:14 -04:00