exec
Subclass for
Process
Installation
-
Add the dependency to your
shard.yml
:dependencies: exec: github: initdc/exec version: 0.0.1
-
Run
shards install
Usage
require "exec"
Exec.run("sudo apt update")
p Exec.code("unamea")
p Exec.output("uname")
Contributing
- Fork it (https://github.com/initdc/exec/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- initdc - creator and maintainer