Subclass for
Process
-
Add the dependency to your
shard.yml
:dependencies: exec: github: initdc/exec version: 0.0.1
-
Run
shards install
require "exec"
Exec.run("sudo apt update")
p Exec.code("unamea")
p Exec.output("uname")
- 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
- initdc - creator and maintainer