Expand description
Agnostic Process
§Introduction
Agnostic abstraction layer of std::process
for any async runtime.
Builtin supports runtimes:
tokio
async-std
smol
§Installation
[dependencies]
agnostic-process = "0.1"
-
tokio
agnostic-process = { version = "0.1", features = ["tokio"] }
-
smol
agnostic-process = { version = "0.1", features = ["smol"] }
-
async-std
agnostic-process = { version = "0.1", features = ["async-std"] }
§License
agnostic-process
is under the terms of both the MIT license and the
Apache License (Version 2.0).
See LICENSE-APACHE, LICENSE-MIT for details.
Copyright (c) 2025 Al Liu.
Re-exports§
pub use agnostic_io as io;
Structs§
- Child
Stderr - A handle to a child process’s standard error (stderr).
- Child
Stdin - A handle to a child process’s standard input (stdin).
- Child
Stdout - A handle to a child process’s standard output (stdout).
Traits§
- Child
- An abstraction of a spawned child process.
- Command
- An abstraction of a builder for spawning processes.
- Into
Stdio - A trait for converting into a
Stdio
. - Process
- Trait for spawning a child process.
- Stderr
- Marker trait for the standard error (stderr) handle of a child process.
- Stdin
- Marker trait for the standard input (stdin) handle of a child process.
- Stdout
- Marker trait for the standard output (stdout) handle of a child process.