diff --git a/lib/index.js b/lib/index.js index 8b3e0bc..1166199 100644 --- a/lib/index.js +++ b/lib/index.js @@ -23,7 +23,7 @@ var bluetest = module.exports = function(options) { core.connectGatt = function() { logger.info('trying to connect using gatttool'); - var gatt = spawn('gatttool -I'); + var gatt = spawn('gatttool',['-I']); gatt.on('error', function(err) { logger.error(err); });