Skip to content

fix(syscmd): flush REPL help output - #443

Open
vbmithr wants to merge 1 commit into
RayforceDB:devfrom
vbmithr:fix/repl-help-pipe-flush
Open

fix(syscmd): flush REPL help output#443
vbmithr wants to merge 1 commit into
RayforceDB:devfrom
vbmithr:fix/repl-help-pipe-flush

Conversation

@vbmithr

@vbmithr vbmithr commented Aug 30, 2026

Copy link
Copy Markdown

Summary

  • flush stdout after rendering the REPL command list
  • make :help immediately visible to pipe-backed clients such as Emacs Comint

Validation

  • make debug
  • started Rayforce with a pipe-backed Emacs process, sent :help, and verified that Commands list arrived before EOF

:help writes directly to stdout, which is block-buffered when the REPL
is driven over a pipe. Flush the completed response so clients such as
Emacs Comint receive it without waiting for another evaluation or EOF.

Co-Authored-By: GPT-5 <noreply@openai.com>
@vbmithr

vbmithr commented Aug 30, 2026

Copy link
Copy Markdown
Author

h_env probably needs it too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant