blob: 4c010a649a9de1963c1864f9d476c833b6d19fdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/env ruby
# Copyright (C) 2013-2015 all contributors <dtas-all@nongnu.org>
# License: GPL-3.0+ (https://www.gnu.org/licenses/gpl-3.0.txt)
# frozen_string_literal: true
require 'dtas/unix_client'
c = DTAS::UNIXClient.new
ARGV.each do |path|
path = File.expand_path(path)
res = c.req_ok(%W(enq #{path}))
puts "#{path} #{res}"
end
|