Skip to main content

new_executor

Function new_executor 

Source
pub fn new_executor() -> Arc<dyn Executor> ⓘ
Expand description

Creates a new Executor.

The returned Executor spawns a std::process::Command in a separate thread unless tokio is enabled, in which case it spawns a tokio::process::Command.