Skip to main content

Module process

Module process 

Source
Expand description

Process spawning abstraction and native implementation.

Provides a platform-agnostic ProcessSpawner trait for running external commands. The native implementation uses tokio::process. This capability is unavailable in WASM environments, which is why super::Platform::process returns Option.

Structs§

NativeProcessSpawner
Native process spawner using tokio::process.
ProcessOutput
Result of running an external process.

Traits§

ProcessSpawner
Platform-agnostic process spawner.