# File lib/em/processes.rb, line 103 103: def EventMachine::system cmd, *args, &cb 104: cb ||= args.pop if args.last.is_a? Proc 105: init = args.pop if args.last.is_a? Proc 106: 107: EM.popen(cmd, SystemCmd, cb) do |c| 108: init[c] if init 109: end 110: end