code: function reboot(options = {}) {
      if (process.platform !== 'linux' &&
          process.platform !== 'darwin' &&
          process.platform !== 'win32') {
          throw new Error('Unknown or unsupported OS!');
      }
  
      let cmdarguments = ['shutdown'];
  
      cmdarguments.push('-r'); // reboot
  
      if (process.platform === 'linux' || process.platform === 'darwin') {
          if (options.sudo) {
              cmdarguments.unshift('sudo');
          }
      }
  
      if (process.platform === 'win32') {
          if (options.force) {
              cmdarguments.push('-f');
          }      
      }
  
      cmdarguments.push(setTimer(options.timerseconds));
  
      executeCmd(cmdarguments, options.debug, options.quitapp);
  }
docs: Shutdown / power-off your machine
  @param {Object} options