Skip to main content

set_output_reporter

Function set_output_reporter 

Source
pub fn set_output_reporter(reporter: Option<Arc<dyn ScriptOutputReporter>>)
Expand description

Route lifecycle child output through an embedding host. When unset, scripts inherit the parent process’s stdout and stderr as usual.