Syntax bugfix for Ruby 1.8

"command.kind_of?(Array) ? exec(*command, :close_others=>true) : exec(command, :close_others=>true)" is syntactically incorrect in ruby 1.8 but works just fine in ruby 1.9