     @createPTY args
 
     @ptyWrite.on 'data', (data) =>
-      console.log "stdout: #{typeof(data).toString()}, #{data}"
       @terminal.write data.toString()
 
     # TODO: investigate this lifetime


  destroy: ->
    @detachResizeEvents()
    @ptyProcess.terminate()
    @terminal.destroy()
    parentPane = atom.workspace.getActivePane()
    if parentPane.activeItem is this

        "HOME": process.env.HOME
      stdio: 'pipe'

    @ptyProcess = spawn rbx, [pty, @opts.shell], options

    @ptyProcess.on 'exit', (code, signal) => @destroy()
    [@ptyRead, @ptyWrite] = [@ptyProcess.stdin, @ptyProcess.stdout]

    @ptyProcess
