exec_from v1.2.0

crystal lang tool for executing processes from different directories
  • v1.2.0 - April 10, 2020
  • v1.0.7 - April 2, 2020
  • v1.0.5 - February 28, 2020
  • v1.0.4 - December 20, 2019
  • v1.0.2 - April 11, 2019

Execute From

Executes an application after changing directory. All IO is piped to the caller.

Installation

shards install

Usage

./bin/exec_from ../other_directory git ls-files

Client

require "exec-from"

result = ExecFrom.exec_from(".", "echo", ["hello"])

puts result[:output].to_s # => "hello"
puts result[:exit_code] # => 0
Owner
github statistic
  • 2
  • 3
  • 0
  • 0
  • 4 months ago
  • April 10, 2019
License

MIT License

Links
Synced at

Mon, 19 Oct 2020 23:02:47 GMT