48 49 50 51 52 53
# File 'lib/launchy/runner.rb', line 48 def commandline_normalize(cmdline) c = cmdline.flatten! c = c.find_all { |a| !a.nil? and a.size.positive? } Launchy.log "commandline_normalized => #{c.join(' ')}" c end