pub fn write_stdout_line(line: &str) -> Result<()>Expand description
Write a line to stdout (Control Plane).
Writes the string followed by a single \n and flushes.
§Important
- Uses explicit
\n, NOTprintln!(which may add\r\non Windows) - Flushes immediately (parent waits for complete line)
- Any logging should go to stderr, not stdout
§Errors
Returns IO error if write or flush fails.