INNER CODE UNIT · Rust
launch_with_stderr_limit
xuzhougeng/wisp-science · crates/wisp-acp/src/lib.rs:267
pub async fn launch_with_stderr_limit(
profile: AcpAgentProfile,
stderr_limit: usize,
) -> Result<Self, AcpError> {
profile.validate()?;
let stderr = BoundedStderr::new(stderr_limit);
let process = ProcessTransport {
profile,
stderr: stderr.clone(),
};
launch_transport(process, stderr).await
}
pub fn info(&self) -> &AcpAgentInfo {
&self.info
}
/// False once the agent actor has stopped — child exit, connection