fork download
  1. $tasks = Hash.new
  2. #loading tasks here
  3. while true do
  4. str = $stdin.gets
  5. cmd = str.split(/\s/)
  6. $tasks[cmd[0]].run cmd[1..-1] #some begin .. rescue stuff around there
  7. end
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty