claude_code.internal._write_prompt
(internal) Write the whole prompt to the CLI's stdin, then close it so the CLI sees EOF.
Reference version
Signature
function claude_code.internal._write_prompt(
p: baml.sys.Process,
prompt: string
) -> string | null throws baml.errors.Io
(internal) Write the whole prompt to the CLI's stdin, then close it so the CLI sees EOF.
Source:<builtin>/claude_code/ns_internal/cli.bamlbytes 5889–6029