hello:
currently checkOthers does the following:
function checkOthers( name, callback ) {
var process = spawn( name, [ '--version' ] ),
re = browsers[ name ].re,
data = '';
process.stdout.on( 'data', function( buf ) {
data += buf;
} );
however, the spawn command can fail with ENOTDIR. see node-inspector/node-inspector#807 for more on that (and see this libs failure output). an update to the spawn call as follows solves my issue:
function checkOthers( name, callback ) {
try {
var process = spawn( name, [ '--version' ] ),
re = browsers[ name ].re,
data = '';
} catch(err) {
return callback(err)
}
thanks
hello:
currently
checkOthersdoes the following:however, the
spawncommand can fail withENOTDIR. see node-inspector/node-inspector#807 for more on that (and see this libs failure output). an update to the spawn call as follows solves my issue:thanks