Skip to main content

objectiveai_cli_sdk/output/notification/api/
detach.rs

1use serde::{Deserialize, Serialize};
2
3/// Emitted by the parent process during `--detach` once the child has
4/// been spawned. Replaces the prior `println!("PID: {pid}")`.
5///
6/// Wire: `{"type":"notification","pid":12345}`.
7#[derive(Serialize, Deserialize, Debug, Clone)]
8pub struct Detached {
9    pub pid: u32,
10}