Skip to main content

send_interrupt

Function send_interrupt 

Source
pub fn send_interrupt(
    pid: u32,
    _creationflags: Option<u32>,
    create_process_group: bool,
) -> Result<()>
Expand description

Deliver the host’s interactive-interrupt request to pid.

Unix sends SIGINT to the process, or to its group when the child leads one. creationflags only matters on Windows and is ignored here.