#command-line-tool #arg #command-line #exrs

exrs

exrs is a command executor wrapping std::process::Command

8 stable releases

Uses new Rust 2024

new 1.1.2 Apr 30, 2025
1.0.4 Apr 27, 2025

#266 in Command-line interface

Download history 479/week @ 2025-04-24

485 downloads per month

MIT license

14KB
269 lines

exrs

crates.io version license

exrs is a command executor library by using std::process::Command. exrsはstd::process::Commandを使用したコマンド実行用ライブラリです。 This is for executing command from rust code eazily than std::process::Command and get result. ちょっと楽にコマンドをrustコードから実行し、結果を取得するためのものです。

Documentation

Here

Installation to your project (プロジェクトでの使用方法)

exrs exists on crates.io. You can use(or import) this crate like other crate that exists on crates.io.

exrs は crates.io に登録してありますので、他の crates.io 上のクレートと同じように使用(インポート)することが可能です。

Edit cargo.toml manually (手動での cargo.toml への追加)

Add

exrs="[version you want to use]"

to cargo.toml.

上記コードでバージョンを指定して、cargo.toml に追加してください。

If you installed cargo-edit, exec below command under the target project:

cargo add exrs

cargo-edit をインストールしてある場合は、上記のコマンドを実行することで使用可能です。

No runtime deps

Features