brush_core/sys/
tokio_process.rs

1//! Process management utilities
2
3pub(crate) type ProcessId = i32;
4pub(crate) use tokio::process::Child;
5
6pub(crate) fn spawn(command: std::process::Command) -> std::io::Result<Child> {
7    let mut command = tokio::process::Command::from(command);
8    command.spawn()
9}