     @cliOutput.scrollTop 10000000
 
   flashIconClass: (className, time=100)=>
+    console.log 'addClass', className
     addClass @statusIcon, className
     @timer and clearTimeout(@timer)
     onStatusOut = =>

        @flashIconClass 'status-info'
        removeClass @statusIcon, 'status-error'
      @program.stderr.on 'data', () =>
        addClass @statusIcon, 'status-error'

    catch err
      @cliOutput.append err.message

      addClass @statusIcon, 'status-running'
      @killBtn.removeClass 'hide'
      @program.once 'exit', (code) =>
        console.log 'exit', code
        @killBtn.addClass 'hide'
        removeClass @statusIcon, 'status-running'
        # removeClass @statusIcon, 'status-error'
        @program = null
        addClass @statusIcon, code == 0 and 'status-success' or 'status-error'
        @showCmd()
      @program.on 'error', (err) =>
        console.log 'error'
        @cliOutput.append err.message
        @showCmd()
        addClass @statusIcon, 'status-error'
