exec_from v1.2.0

crystal lang tool for executing processes from different directories

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
Repository

exec_from

Owner
Statistic
  • 3
  • 0
  • 0
  • 2
  • 0
  • over 3 years ago
  • April 10, 2019
License

MIT License

Links
Synced at

Sat, 21 Dec 2024 20:02:03 GMT

Languages