Sha256: 74781e353e79736276703a4eace555c217f7985ffe33bc55e7fbeba5041cca64

Contents?: true

Size: 207 Bytes

Versions: 26

Compression:

Stored size: 207 Bytes

Contents

#!/usr/bin/env ruby

$running = true 

trap('INT') do
  $running = true
end

STDIN.each_line do |line|
  break unless $running
  command = line.chomp
  puts
  puts "command: #{command}"
  system command
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ix-cli-0.0.27 bin/ix-print-and-run
ix-cli-0.0.26 bin/ix-print-and-run
ix-cli-0.0.25 bin/ix-print-and-run
ix-cli-0.0.24 bin/ix-print-and-run
ix-cli-0.0.23 bin/ix-print-and-run
ix-cli-0.0.22 bin/ix-print-and-run
ix-cli-0.0.21 bin/ix-print-and-run
ix-cli-0.0.20 bin/ix-print-and-run
ix-cli-0.0.19 bin/ix-print-and-run
ix-cli-0.0.18 bin/ix-print-and-run
ix-cli-0.0.17 bin/ix-print-and-run
ix-cli-0.0.16 bin/ix-print-and-run
ix-cli-0.0.15 bin/ix-print-and-run
ix-cli-0.0.14 bin/ix-print-and-run
ix-cli-0.0.13 bin/ix-print-and-run
ix-cli-0.0.12 bin/ix-print-and-run
ix-cli-0.0.11 bin/ix-print-and-run
ix-cli-0.0.10 bin/ix-print-and-run
ix-cli-0.0.9 bin/ix-print-and-run
ix-cli-0.0.7 bin/ix-print-and-run