https://github.com/initdc/exec.cr
Wrapper for Crystal::Process
https://github.com/initdc/exec.cr
command crystal exec shell
Last synced: 26 days ago
JSON representation
Wrapper for Crystal::Process
- Host: GitHub
- URL: https://github.com/initdc/exec.cr
- Owner: initdc
- License: mit
- Created: 2026-02-18T12:50:17.000Z (4 months ago)
- Default Branch: dev
- Last Pushed: 2026-02-18T13:20:34.000Z (4 months ago)
- Last Synced: 2026-02-18T17:41:02.722Z (4 months ago)
- Topics: command, crystal, exec, shell
- Language: Crystal
- Homepage: https://crystal-lang.org/api/latest/Process.html
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- 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.cr
version: 0.2.3
```
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