困擾了很久
試過各種寫法 thread / lock / wait / pause / sleep 都無效
結果很簡單,只要 scan 時增加 passive=True 就好了
scanner = Scanner().withDelegate(ScanDelegate())
devices = scanner.scan(1.0, passive=True)
@windows vm sdelete64 -z c: @macos VBoxManage modifymedium disk "/Users/fellow/VirtualBox VMs/Win10/Win10.vdi" --compact *.vdi...