run_script
Run shell scripts in rust.
Overview
This library enables to invoke shell scripts based on their content. While std::process::Command works great to execute standalone command, you need more manual code to take a script text and execute it. For this purpose, this library was created.
Usage
Simply include the library and invoke the run function with the script text and run options:
extern crate run_script;
use ScriptOptions;
The library also provides the run_script! macro for simpler usage.
extern crate run_script;
use ScriptOptions;
Installation
In order to use this library, just add it as a dependency:
[dependencies]
run_script = "*"
API Documentation
See full docs at: API Docs
Contributing
Release History
Date | Version | Description |
---|---|---|
2018-06-22 | v0.1.18 | Maintenance |
2018-03-20 | v0.1.14 | Fix permissions issue (#2) |
2017-12-23 | v0.1.10 | New run_script! macro |
2017-11-04 | v0.1.1 | Initial release. |
License
Developed by Sagie Gur-Ari and licensed under the Apache 2 open source license.