diff --git a/libs/esl/ruby/single_command.rb b/libs/esl/ruby/single_command.rb new file mode 100644 index 0000000000..b763cd8211 --- /dev/null +++ b/libs/esl/ruby/single_command.rb @@ -0,0 +1,8 @@ +#! /usr/bin/ruby + +require "ESL" + +command = ARGV.join(" ") +con = ESL::ESLconnection.new("localhost", "8021", "ClueCon") +e = con.sendRecv("api #{command}") +puts e.getBody()