Lightweight Command Runner
Lightweight Command Runner is a lightweight asynchronous command execution library that provides a simple trait-based interface for running system commands using Tokio. With a default implementation and the ability to customize, it lets you integrate command execution easily into your asynchronous Rust applications.
Features
- Asynchronous Execution: Run system commands using async/await.
- Trait-Based API: Easily swap out or extend the command runner with your own implementation.
- Cross-Platform Support: Includes Unix/Windows specific extensions for exit status handling.
- Ergonomic Design: Clean, minimal API for straightforward command execution.
Installation
Add the following to your Cargo.toml:
[]
= "0.1.0"
Usage
Here's a basic example using the default implementation:
use ;
use Command;
async
License
This project is dual-licensed under either the MIT license or the Apache License, Version 2.0, at your option.
Contributing
Contributions are welcome! Please check out the repository for details.