Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/initdc/exec
Wrapper for Crystal::Process
https://github.com/initdc/exec
command crystal exec shell wrapper
Last synced: 25 days ago
JSON representation
Wrapper for Crystal::Process
- Host: GitHub
- URL: https://github.com/initdc/exec
- Owner: initdc
- License: mit
- Created: 2024-02-29T07:18:21.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-07-03T13:01:18.000Z (5 months ago)
- Last Synced: 2024-10-04T21:31:47.168Z (about 1 month ago)
- Topics: command, crystal, exec, shell, wrapper
- Language: Crystal
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# exec
> Subclass for `Process`
## Installation
1. Add the dependency to your `shard.yml`:
```yaml
dependencies:
exec:
github: initdc/exec
version: 0.0.1
```2. Run `shards install`
## Usage
```crystal
require "exec"Exec.run("sudo apt update")
p Exec.code("unamea")
p Exec.output("uname")
```## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request## Contributors
- [initdc](https://github.com/initdc) - creator and maintainer