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
  • 3
  • 0
  • over 3 years ago
  • April 10, 2019
License

MIT License

Links
Synced at

Wed, 20 Nov 2024 20:57:57 GMT

Languages