<commit_before>(function() {
    'use strict';
    
    var DIR             = './',
        DIR_LIB         = DIR + '../',
        
        path            = require('path'),
        child_process   = require('child_process'),
        
        exec            = child_process.exec,
        
        WIN             = process.platform === 'win32',
        spawn           = child_process.spawn,
        
        Util            = require(DIR_LIB   + 'util'),
        CloudFunc       = require(DIR_LIB   + 'cloudfunc'),
        
        addNewLine      = CloudFunc.addNewLine,
        
        find            = require(DIR       + 'find'),
        win             = require(DIR       + 'win');
        
        Util.exec.try(function() {
            find = require('glob');
        });
    
    module.exports = function(command, options, callback) {
        Util.checkArgs(arguments, ['command', 'callback']);
        
        if (!callback) {
            callback    = options;
            
            options     = {
                cwd: process.cwd()
            };
        }
        
        onMessage(command, options, callback);
    };
    
    
    function onMessage(command, options, callback) {
        var funcExec, firstChar,
            connName, ret,
            dir         = options.cwd,
            isVolume    = win.isChangeVolume(command),
            isCD        = /^cd ?/.test(command),
            isCDWin     = /^cd ?/i.test(command),
            
            symbolsExec = ['*', '&', '{', '}', '|', '\'', '"', ';'],
            isSymbol    = Util.isContainStr(command, symbolsExec);
        
        Util.checkArgs(arguments, ['connNum', 'callback', 'command']);
        
        if (isCD || isCDWin && WIN || isVolume) {
            ret = true;
            
            onCD(command, dir, function(error, json) {
                var path;
                
                if (!error && json.path) {<commit_msg>chore(spawnify) rm "\n"<commit_after>(function() {
    'use strict';
    
    var DIR             = './',
        DIR_LIB         = DIR + '../',
        
        path            = require('path'),
        child_process   = require('child_process'),
        
        exec            = child_process.exec,
        
        WIN             = process.platform === 'win32',
        spawn           = child_process.spawn,
        
        Util            = require(DIR_LIB   + 'util'),
        CloudFunc       = require(DIR_LIB   + 'cloudfunc'),
        
        addNewLine      = CloudFunc.addNewLine,
        
        find            = require(DIR       + 'find'),
        win             = require(DIR       + 'win');
        
        Util.exec.try(function() {
            find = require('glob');
        });
    
    module.exports = function(command, options, callback) {
        Util.checkArgs(arguments, ['command', 'callback']);
        
        if (!callback) {
            callback    = options;
            
            options     = {
                cwd: process.cwd()
            };
        }
        
        onMessage(command, options, callback);
    };
    
    function onMessage(command, options, callback) {
        var funcExec, firstChar,
            connName, ret,
            dir         = options.cwd,
            isVolume    = win.isChangeVolume(command),
            isCD        = /^cd ?/.test(command),
            isCDWin     = /^cd ?/i.test(command),
            
            symbolsExec = ['*', '&', '{', '}', '|', '\'', '"', ';'],
            isSymbol    = Util.isContainStr(command, symbolsExec);
        
        Util.checkArgs(arguments, ['connNum', 'callback', 'command']);
        
        if (isCD || isCDWin && WIN || isVolume) {
            ret = true;
            
            onCD(command, dir, function(error, json) {
                var path;
                
                if (!error && json.path) {
{'fraction_non_alphanumeric': 0.13283466597884963, 'fraction_numerical': 0.0010317255610007739, 'mean_word_length': 1.17011751538892, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3062674', 'n_tokens_mistral': 1043, 'n_tokens_neox': 1038, 'n_words': 192}