exec

Wrapper for Crystal::Process

exec

Subclass for Process

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      exec:
        github: initdc/exec
        version: 0.0.1
    
  2. Run shards install

Usage

require "exec"

Exec.run("sudo apt update")
p Exec.code("unamea")
p Exec.output("uname")

Contributing

  1. Fork it (https://github.com/initdc/exec/fork)
  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 - creator and maintainer
Repository

exec

Owner
Statistic
  • 1
  • 0
  • 0
  • 0
  • 0
  • 4 months ago
  • February 29, 2024
License

MIT License

Links
Synced at

Thu, 21 Nov 2024 11:02:30 GMT

Languages