 
         @kernelProcess.kill('SIGKILL')
 
+
     getGrammarForLanguage: (language) ->
         matchingGrammars = atom.grammars.getGrammars().filter (grammar) ->
             grammar != atom.grammars.nullGrammar and

                stream: 'error'

        else if status is 'ok'
            msg_type = message.header?.msg_type

            if msg_type is 'execution_reply'
                callback

    addWatchCallback: (watchCallback) ->
        @watchCallbacks.push(watchCallback)


    onShellMessage: (message) ->
        console.log "shell message:", message

        unless @_isValidMessage message
            return

        msg_id = message.parent_header.msg_id
        if msg_id?
            callback = @executionCallbacks[msg_id]

        unless callback?
            return

        status = message.content.status
