1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
//! An extension to [`std::process::Command`] to support process groups on Unix and Windows.
//!
//! On Unix, the [`UnixChildExt`] trait additionally adds support for sending signals to processes
//! and process groups (it’s implemented on _both_ this crate’s [`GroupChild`] and std’s
//! [`Child`](std::process::Child)).

#![doc(html_favicon_url = "https://watchexec.github.io/logo:command-group.svg")]
#![doc(html_logo_url = "https://watchexec.github.io/logo:command-group.svg")]
#![warn(missing_docs)]

mod child;
pub mod stdlib;

#[cfg(windows)]
pub(crate) mod winres;

#[doc(inline)]
pub use child::*;
pub use stdlib::CommandGroup;