pub trait ProcessSpawner: Send + Sync {
// Required method
fn spawn<'life0, 'async_trait>(
&'life0 self,
command: String,
args: Vec<String>,
cwd: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<SpawnResult, SpawnError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Trait for spawning processes (local or remote)
NOTE: Unused until process spawner is integrated with Editor. This abstraction allows plugins to spawn processes transparently on either local or remote filesystems.