I've noticed when running the server (api.js) on Windows and calling the method to update the HDDs creates a momentary popup from a command prompt window.
node-disk-info leverages execSync to run commands. I'll need to look into windowsHide;
src/platforms/windows.ts
let buffer = Utils.execute(Constants.WINDOWS_COMMAND);
src/utils/constants.ts
public static readonly WINDOWS_COMMAND: string = 'wmic logicaldisk get Caption,FreeSpace,Size,VolumeSerialNumber,Description /format:list';
src/utils/utils.ts
public static execute(command: string): Buffer {
return execSync(command,{windowsHide: true, encoding: 'buffer'});
}