Skip to main content

child_command_async

Function child_command_async 

Source
pub fn child_command_async(program: impl AsRef<OsStr>) -> Command
Expand description

The tokio twin of child_command.

tokio::process::Command wraps a std::process::Command, so as_std_mut reaches the one the flag is written on and both flavours share a single implementation rather than a second copy of the #[cfg].