exports.setSystemCommands = function() { 'use strict'; process_utils.setSystemCommands(); system_commands.set('run', './$0', 'unix'); system_commands.set('run', '$0', 'win32'); };
logger.debug('%s', e.stack); }); } // kill this.app_.schedule('Kill server/browser', function() { if (this.browser_) { this.browser_.kill(); this.browser_ = undefined; this.devTools_ = undefined; } else { logger.warn('WD launcher is already unset'); } }.bind(this)); // Disconnect parent IPC to exit gracefully without a process.exit() call. // This should be the last source of event queue events. this.app_.schedule('Disconnect IPC', exports.process.disconnect.bind(process)); }; process_utils.setSystemCommands(); if (require.main === module) { try { var wds = exports.WebDriverServer.getInstance(); wds.initIpc(); } catch (e) { console.log(e); process.exit(-1); } }
before(function() { process_utils.setSystemCommands(); });