--- id: "bug-1718" status: "fixed" status_updated: "2026-09-24" status_note: "" component: "controller" severity: "unknown" timestamp: "2026-08-26T16:23:00Z" last_seen: "2026-09-19T09:00:00Z" occurrences: 1 files: ["src/controller/testsuite/test_rcfile_integration.sh"] tags: ["bash", "python", "pty", "heredoc", "stdin", "xce-test-rc-file", "task-3.1"] related: [] legacy: true --- # bug-1718: A python3 pty-driver embedded via a heredoc on a command that ALSO receives piped stdin silently… ## Description A python3 pty-driver embedded via a heredoc on a command that ALSO receives piped stdin silently discards the piped input ## Environment _Not recorded (migrated from buglog.json)._ ## Reproduction _Not recorded (migrated from buglog.json)._ ## Root cause First draft of run_interactive_pty() did: printf '%s\n' "$script" | python3 - "$XCE_TEST" ... <"$PTY_DRIVER" < does not consume stdin to obtain its own source. ## Verification _Not recorded (migrated from buglog.json)._ ## References _Not recorded (migrated from buglog.json)._